stringapi: Use strings for search paths

This commit is contained in:
Ben Boeckel 2014-02-07 15:45:11 -05:00 committed by Brad King
parent c3833c7da4
commit 8455dd0a9a
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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