diff options
author | Brad King <brad.king@kitware.com> | 2009-07-10 13:08:54 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-10 13:08:54 -0400 |
commit | ea00bb990bd6e7c307808ceb226e88bf49e483c8 (patch) | |
tree | 8460b31f5c77a0a60bc63d44181f74aa6f9da4d4 /Source/CTest/cmCTestHG.cxx | |
parent | a4dff91c35d670b173a9b276596f60b85373a2af (diff) | |
download | cmake-ea00bb990bd6e7c307808ceb226e88bf49e483c8.tar.gz |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestHG.cxx b/Source/CTest/cmCTestHG.cxx index 268fe7754a..0d1ca4ba29 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); |