[Cmake-commits] [cmake-commits] king committed cmCTestSubmitHandler.cxx 1.33 1.34

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 14 09:52:00 EST 2009


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

Modified Files:
	cmCTestSubmitHandler.cxx 
Log Message:
COMP: Fix const set find for Borland 5.5

The Borland 5.5 compiler's STL set does not define correct signatures
for its find() members, leading to build errors.  This works around the
problem.


Index: cmCTestSubmitHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestSubmitHandler.cxx,v
retrieving revision 1.33
retrieving revision 1.34
diff -C 2 -d -r1.33 -r1.34
*** cmCTestSubmitHandler.cxx	12 Jan 2009 15:38:27 -0000	1.33
--- cmCTestSubmitHandler.cxx	14 Jan 2009 14:51:58 -0000	1.34
***************
*** 1129,1133 ****
        p != cmCTest::PartCount; p = cmCTest::Part(p+1))
      {
!     this->SubmitPart[p] = (parts.find(p) != parts.end());
      }
  }
--- 1129,1134 ----
        p != cmCTest::PartCount; p = cmCTest::Part(p+1))
      {
!     this->SubmitPart[p] =
!       (std::set<cmCTest::Part>::const_iterator(parts.find(p)) != parts.end());
      }
  }



More information about the Cmake-commits mailing list