From adffd10cce390797697ef435a9b5c2bb204020e0 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 5 Oct 2007 15:51:01 -0400 Subject: [PATCH] COMP: fix to compile on VS 8 --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index e7648210b..fd094090c 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_;