summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:59:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:35:44 +0000
commit9cca4ffd9987352e43119d9c4dea0ce84c2c448f (patch)
tree250e8092af1738ce51c268e2866dd75d67e879df /dinput/dinput.hpp
parentf0216a3c53d43918295f1bd81975b391f4e5ed3b (diff)
silly busywork
Diffstat (limited to 'dinput/dinput.hpp')
-rw-r--r--dinput/dinput.hpp2
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>