diff options
Diffstat (limited to 'src/keycode.h')
-rw-r--r-- | src/keycode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keycode.h b/src/keycode.h index 9352fa4c0..7036705d1 100644 --- a/src/keycode.h +++ b/src/keycode.h @@ -30,7 +30,8 @@ with this program; if not, write to the Free Software Foundation, Inc., class KeyPress { public: - KeyPress() {} + KeyPress() = default; + KeyPress(const char *name); KeyPress(const irr::SEvent::SKeyInput &in, bool prefer_character = false); |