diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 15:59:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 14:35:44 +0000 |
commit | 9cca4ffd9987352e43119d9c4dea0ce84c2c448f (patch) | |
tree | 250e8092af1738ce51c268e2866dd75d67e879df /dinput/dinput.hpp | |
parent | f0216a3c53d43918295f1bd81975b391f4e5ed3b (diff) |
silly busywork
Diffstat (limited to 'dinput/dinput.hpp')
-rw-r--r-- | dinput/dinput.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/dinput.hpp b/dinput/dinput.hpp index e3eb2758..a9241504 100644 --- a/dinput/dinput.hpp +++ b/dinput/dinput.hpp @@ -36,7 +36,7 @@ public: di_t& operator=(const di_t&) = default; diptr operator->() const { return handle; } - operator bool() { return handle; } + operator bool() { return handle != nullptr; } // for debugging bad usages. must use a dependent name. template<typename t = void> |