From ea00bb990bd6e7c307808ceb226e88bf49e483c8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 10 Jul 2009 13:08:54 -0400 Subject: COMP: Fix cmCTestHG for old HP compiler The compiler does not have a fully compliant std::string. --- Source/CTest/cmCTestHG.cxx | 4 ++-- 1 file 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); -- cgit v0.12