From 9cca4ffd9987352e43119d9c4dea0ce84c2c448f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Oct 2018 15:59:58 +0200 Subject: silly busywork --- dinput/dinput.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dinput') 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 -- cgit v1.2.3