summaryrefslogtreecommitdiff
path: root/src/input/keyboardconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyboardconfig.h')
-rw-r--r--src/input/keyboardconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index b43f22790..7f7102964 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -56,8 +56,8 @@ class KeyboardConfig final
/**
* Get the key function index by providing the keys value.
*/
- int getKeyIndex(const SDL_Event &event,
- const int grp = 1) const A_WARN_UNUSED;
+ static int getKeyIndex(const SDL_Event &event,
+ const int grp = 1) A_WARN_UNUSED;
/**
* Set the enable flag, which will stop the user from doing actions.