diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:34:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:32 (GMT) |
commit | f3efa3cd160d9957437168627689720bb953bb2b (patch) | |
tree | 0738950fc9d37532df43f2d6f70a0e70e069ddc4 /Source/cmMakefile.cxx | |
parent | adcd812917fe37798a3062bfb3a0932e128faec2 (diff) | |
download | CMake-f3efa3cd160d9957437168627689720bb953bb2b.zip CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.gz CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.bz2 |
stringapi: Use strings for cache paths as arguments
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 1df64dd..e059dd3 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2956,7 +2956,7 @@ cmMakefile::LexicalPushPop::~LexicalPushPop() this->Makefile->PopFunctionBlockerBarrier(this->ReportError); } -void cmMakefile::SetHomeDirectory(const char* dir) +void cmMakefile::SetHomeDirectory(const std::string& dir) { this->cmHomeDirectory = dir; cmSystemTools::ConvertToUnixSlashes(this->cmHomeDirectory); @@ -2967,7 +2967,7 @@ void cmMakefile::SetHomeDirectory(const char* dir) } } -void cmMakefile::SetHomeOutputDirectory(const char* lib) +void cmMakefile::SetHomeOutputDirectory(const std::string& lib) { this->HomeOutputDirectory = lib; cmSystemTools::ConvertToUnixSlashes(this->HomeOutputDirectory); |