summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestHG.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestHG.cxx b/Source/CTest/cmCTestHG.cxx
index 268fe77..0d1ca4b 100644
--- a/Source/CTest/cmCTestHG.cxx
+++ b/Source/CTest/cmCTestHG.cxx
@@ -280,12 +280,12 @@ private:
{
if(this->CData[i] != ' ')
{
- currPath.push_back(this->CData[i]);
+ currPath += this->CData[i];
}
else
{
output.push_back(currPath);
- currPath.erase();
+ currPath = "";
}
}
output.push_back(currPath);