diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-04 18:31:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:31 (GMT) |
commit | a6ae2ea72bc0d4149c2ff6118fcfd577e95c680d (patch) | |
tree | 24c42ad3b040fc9476f1bd7959a96bb4035c1691 /Source/cmMakefileTargetGenerator.h | |
parent | ce5114354c357df973e54872ab7abebbff36793b (diff) | |
download | CMake-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.h | 2 |
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, |