COMP: fix to compile on VS 8

This commit is contained in:
Ken Martin 2007-10-05 15:51:01 -04:00
parent f4ab553178
commit adffd10cce
1 changed files with 1 additions and 1 deletions

View File

@ -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_;