diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-20 19:05:44 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 19:31:24 +0100 |
commit | e202dab212ef8fd284d2745dd66496dcc3a2043e (patch) | |
tree | 345437664c02e65f4b6f3b0dd960d20fd5c2bf58 /dinput/keybinding-worker.hpp | |
parent | 48de00ec978261c25e9c4a59479f0607cae751ff (diff) |
fix undefined behavior undescore prefixes
Diffstat (limited to 'dinput/keybinding-worker.hpp')
-rw-r--r-- | dinput/keybinding-worker.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dinput/keybinding-worker.hpp b/dinput/keybinding-worker.hpp index d1dc4149..fdcf94c9 100644 --- a/dinput/keybinding-worker.hpp +++ b/dinput/keybinding-worker.hpp @@ -63,7 +63,7 @@ private: KeybindingWorker(); static KeybindingWorker& make(); - fun* _add_receiver(fun &receiver); + fun* add_receiver(fun& receiver); void remove_receiver(fun* pos); ~KeybindingWorker() override; @@ -83,7 +83,7 @@ public: } Token(fun receiver) { - pos = make()._add_receiver(receiver); + pos = make().add_receiver(receiver); } }; }; |