Skip to content
Snippets Groups Projects
Commit dd3896bb authored by Ken Martin's avatar Ken Martin
Browse files

compiler fix

parent b4cf2669
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ void SystemTools::ReplaceString(kwsys_std::string& source,
searchPos = searchPos - src + orig;
// initialize the result
source.clear();
source.erase(source.begin(),source.end());
do
{
*searchPos = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment