diff options
Diffstat (limited to 'dinput/keybinding-worker.hpp')
-rw-r--r-- | dinput/keybinding-worker.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dinput/keybinding-worker.hpp b/dinput/keybinding-worker.hpp index 9d067c10..fad9ec7e 100644 --- a/dinput/keybinding-worker.hpp +++ b/dinput/keybinding-worker.hpp @@ -73,9 +73,10 @@ public: class Token { fun* pos; + public: Token(const Token&) = delete; Token& operator=(Token&) = delete; - public: + ~Token() { make().remove_receiver(pos); |