summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-04 18:31:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:31 (GMT)
commita6ae2ea72bc0d4149c2ff6118fcfd577e95c680d (patch)
tree24c42ad3b040fc9476f1bd7959a96bb4035c1691 /Source/cmMakefileTargetGenerator.h
parentce5114354c357df973e54872ab7abebbff36793b (diff)
downloadCMake-a6ae2ea72bc0d4149c2ff6118fcfd577e95c680d.zip
CMake-a6ae2ea72bc0d4149c2ff6118fcfd577e95c680d.tar.gz
CMake-a6ae2ea72bc0d4149c2ff6118fcfd577e95c680d.tar.bz2
stringapi: Use strings in Convert methods in LocalGenerator
The C strings were turned into std::strings internally anyways and most callers used .c_str().
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index 8ab65bf..baae2b0 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -269,7 +269,7 @@ protected:
//==================================================================
// Convenience routines that do nothing more than forward to
// implementaitons
- std::string Convert(const char* source,
+ std::string Convert(const std::string& source,
cmLocalGenerator::RelativeRoot relative,
cmLocalGenerator::OutputFormat output =
cmLocalGenerator::UNCHANGED,