[Cmake-commits] [cmake-commits] king committed cmCTestHG.cxx 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 10 13:08:57 EDT 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv11267/Source/CTest

Modified Files:
	cmCTestHG.cxx 
Log Message:
COMP: Fix cmCTestHG for old HP compiler

The compiler does not have a fully compliant std::string.


Index: cmCTestHG.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestHG.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** cmCTestHG.cxx	10 Jul 2009 15:07:48 -0000	1.1
--- cmCTestHG.cxx	10 Jul 2009 17:08:54 -0000	1.2
***************
*** 281,290 ****
        if(this->CData[i] != ' ')
          {
!         currPath.push_back(this->CData[i]);
          }
        else
          {
          output.push_back(currPath);
!         currPath.erase();
          }
        }
--- 281,290 ----
        if(this->CData[i] != ' ')
          {
!         currPath += this->CData[i];
          }
        else
          {
          output.push_back(currPath);
!         currPath = "";
          }
        }



More information about the Cmake-commits mailing list