Commit 8455dd0a authored by Ben Boeckel's avatar Ben Boeckel Committed by Brad King
Browse files

stringapi: Use strings for search paths

parent c3833c7d
......@@ -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);
}
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment