From 951f1201c413c1137cfbef771bdd575c9c7e01bb Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 18 Aug 2017 08:21:01 +0200 Subject: Modernize various files (src/k*, src/l*) * range-based for loops * code style * C++ headers instead of C headers * Default operators --- src/keycode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/keycode.h') 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); -- cgit v1.2.3