compiler fix

This commit is contained in:
Ken Martin 2003-06-24 16:35:59 -04:00
parent 840389b64f
commit 7f34d64b0a
1 changed files with 1 additions and 1 deletions

View File

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