mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
compiler fix
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user