Commit e9204f8f authored by Ben Boeckel's avatar Ben Boeckel Committed by Ben Boeckel
Browse files

SystemTools: Take strings in AddKeepPath

Change-Id: Ia355093ee73937ecb276a42bac2b837e3fe496b5
parent d2dbff07
......@@ -3085,7 +3085,7 @@ void SystemTools::AddTranslationPath(const kwsys_stl::string& a, const kwsys_stl
}
}
void SystemTools::AddKeepPath(const char* dir)
void SystemTools::AddKeepPath(const kwsys_stl::string& dir)
{
kwsys_stl::string cdir;
Realpath(SystemTools::CollapseFullPath(dir).c_str(), cdir);
......
......@@ -812,7 +812,7 @@ public:
* If dir is different after CollapseFullPath is called,
* Then insert it into the path translation table
*/
static void AddKeepPath(const char* dir);
static void AddKeepPath(const kwsys_stl::string& dir);
/**
* Update path by going through the Path Translation table;
......
Supports Markdown
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