diff options
Diffstat (limited to 'include/winapi')
-rw-r--r-- | include/winapi/handle.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/winapi/handle.hpp b/include/winapi/handle.hpp index cd114d5..1145fd6 100644 --- a/include/winapi/handle.hpp +++ b/include/winapi/handle.hpp @@ -33,8 +33,8 @@ public: explicit operator HANDLE() const { return ptr(); } - bool is_invalid() const; - static bool is_invalid(HANDLE); + bool is_valid() const; + static bool is_valid(HANDLE); void close(); |