summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestHG.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-10 17:08:54 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-10 17:08:54 (GMT)
commitea00bb990bd6e7c307808ceb226e88bf49e483c8 (patch)
tree8460b31f5c77a0a60bc63d44181f74aa6f9da4d4 /Source/CTest/cmCTestHG.cxx
parenta4dff91c35d670b173a9b276596f60b85373a2af (diff)
downloadCMake-ea00bb990bd6e7c307808ceb226e88bf49e483c8.zip
CMake-ea00bb990bd6e7c307808ceb226e88bf49e483c8.tar.gz
CMake-ea00bb990bd6e7c307808ceb226e88bf49e483c8.tar.bz2
COMP: Fix cmCTestHG for old HP compiler
The compiler does not have a fully compliant std::string.
Diffstat (limited to 'Source/CTest/cmCTestHG.cxx')
-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);