summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:45:11 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:34 (GMT)
commit8455dd0a9a6c766870c7ddcb186e49a8a5db1416 (patch)
treeecfcfcd66beadb4df80ad6a22e88799f8e95234f /Source/cmMakeDepend.cxx
parentc3833c7da40ccb03fc80bf10f37b77398d7123f8 (diff)
downloadCMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.zip
CMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.tar.gz
CMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.tar.bz2
stringapi: Use strings for search paths
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index 615e6f2..03ad37c 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -359,7 +359,7 @@ std::string cmMakeDepend::FullPath(const char* fname, const char *extraPath)
}
// Add a directory to the search path
-void cmMakeDepend::AddSearchPath(const char* path)
+void cmMakeDepend::AddSearchPath(const std::string& path)
{
this->IncludeDirectories.push_back(path);
}