summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-05 19:51:01 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-05 19:51:01 (GMT)
commitadffd10cce390797697ef435a9b5c2bb204020e0 (patch)
tree3b05e63a31a1258baf862d9c06e4bea615c7d270
parentf4ab5531789f6c210b21cc13dadc95742da5ef5b (diff)
downloadCMake-adffd10cce390797697ef435a9b5c2bb204020e0.zip
CMake-adffd10cce390797697ef435a9b5c2bb204020e0.tar.gz
CMake-adffd10cce390797697ef435a9b5c2bb204020e0.tar.bz2
COMP: fix to compile on VS 8
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index e764821..fd09409 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -81,7 +81,7 @@ public:
}
}
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_;