diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:45:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:34 (GMT) |
commit | 8455dd0a9a6c766870c7ddcb186e49a8a5db1416 (patch) | |
tree | ecfcfcd66beadb4df80ad6a22e88799f8e95234f /Source | |
parent | c3833c7da40ccb03fc80bf10f37b77398d7123f8 (diff) | |
download | CMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.zip CMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.tar.gz CMake-8455dd0a9a6c766870c7ddcb186e49a8a5db1416.tar.bz2 |
stringapi: Use strings for search paths
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakeDepend.cxx | 2 | ||||
-rw-r--r-- | Source/cmMakeDepend.h | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/Source/cmMakeDepend.h b/Source/cmMakeDepend.h index b6e3928..2419ae9 100644 --- a/Source/cmMakeDepend.h +++ b/Source/cmMakeDepend.h @@ -94,7 +94,7 @@ public: /** * Add a directory to the search path for include files. */ - virtual void AddSearchPath(const char*); + virtual void AddSearchPath(const std::string&); /** * Generate dependencies for the file given. Returns a pointer to |