summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-03-10 22:32:00 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-05-02 17:05:44 (GMT)
commit3c640891177923e71a0a50d26988a3595a0f3c43 (patch)
tree53c39f3faeb3ee3a677031d7ca7f369f1960ea6d /Source/cmLocalNinjaGenerator.cxx
parent94429287454a3b40268dd48db7b38f158bbecd93 (diff)
downloadCMake-3c640891177923e71a0a50d26988a3595a0f3c43.zip
CMake-3c640891177923e71a0a50d26988a3595a0f3c43.tar.gz
CMake-3c640891177923e71a0a50d26988a3595a0f3c43.tar.bz2
ninja: Use string parameters
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 2f763ce..2ac8363 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -294,7 +294,7 @@ void cmLocalNinjaGenerator::WriteProcessedMakefile(std::ostream& os)
os << std::endl;
}
-std::string cmLocalNinjaGenerator::ConvertToNinjaPath(const char *path)
+std::string cmLocalNinjaGenerator::ConvertToNinjaPath(const std::string& path)
{
std::string convPath = this->Convert(path, cmLocalGenerator::HOME_OUTPUT);
#ifdef _WIN32