compiler fix
This commit is contained in:
parent
840389b64f
commit
7f34d64b0a
|
@ -268,7 +268,7 @@ void SystemTools::ReplaceString(kwsys_std::string& source,
|
||||||
searchPos = searchPos - src + orig;
|
searchPos = searchPos - src + orig;
|
||||||
|
|
||||||
// initialize the result
|
// initialize the result
|
||||||
source.clear();
|
source.erase(source.begin(),source.end());
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
*searchPos = '\0';
|
*searchPos = '\0';
|
||||||
|
|
Loading…
Reference in New Issue