[cmake-commits] martink committed cmSystemTools.cxx 1.351 1.352

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 5 15:51:03 EDT 2007


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

Modified Files:
	cmSystemTools.cxx 
Log Message:
COMP: fix to compile on VS 8


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -d -r1.351 -r1.352
--- cmSystemTools.cxx	5 Oct 2007 14:03:16 -0000	1.351
+++ cmSystemTools.cxx	5 Oct 2007 19:51:01 -0000	1.352
@@ -81,7 +81,7 @@
       }
     }
   operator bool() const { return this->handle_ != INVALID_HANDLE_VALUE; }
-  operator !() const { return this->handle_ == INVALID_HANDLE_VALUE; }
+  bool operator !() const { return this->handle_ == INVALID_HANDLE_VALUE; }
   operator HANDLE() const { return this->handle_; }
 private:
   HANDLE handle_;



More information about the Cmake-commits mailing list