From 7f34d64b0ab321e03e56269476e7fd962836e2b3 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 24 Jun 2003 16:35:59 -0400 Subject: [PATCH] compiler fix --- Source/kwsys/SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 0b887fc2f6..6b1327c59d 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';