diff options
Diffstat (limited to 'src/input/keyboardconfig.h')
-rw-r--r-- | src/input/keyboardconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h index a14afd200..7d32b6299 100644 --- a/src/input/keyboardconfig.h +++ b/src/input/keyboardconfig.h @@ -90,8 +90,8 @@ class KeyboardConfig final #endif // USE_SDL2 } - constexpr static int getKeyValueFromEvent(const SDL_Event &event) - A_WARN_UNUSED + constexpr2 static int getKeyValueFromEvent(const SDL_Event &event) + A_WARN_UNUSED { #ifdef USE_SDL2 return event.key.keysym.scancode; |