Ver código fonte

COMP: Fix cmCTestHG for old HP compiler

The compiler does not have a fully compliant std::string.
Brad King 16 anos atrás
pai
commit
ea00bb990b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      Source/CTest/cmCTestHG.cxx

+ 2 - 2
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);