diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-06-24 20:35:59 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-06-24 20:35:59 (GMT) |
commit | 7f34d64b0ab321e03e56269476e7fd962836e2b3 (patch) | |
tree | d7c434063a05001735afed6cb5add754a9bb783c /Source | |
parent | 840389b64f54b1b239df4b17c329e1e79dfddd42 (diff) | |
download | CMake-7f34d64b0ab321e03e56269476e7fd962836e2b3.zip CMake-7f34d64b0ab321e03e56269476e7fd962836e2b3.tar.gz CMake-7f34d64b0ab321e03e56269476e7fd962836e2b3.tar.bz2 |
compiler fix
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 0b887fc..6b1327c 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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'; |