From 82a4015692e630f36f94a55590c1b59b958c5a17 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Feb 2014 17:56:08 +0300 Subject: add missing const and static keywords. --- src/input/keyboardconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/keyboardconfig.h') 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. -- cgit v1.2.3-70-g09d2