diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-07 17:56:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-07 17:56:08 +0300 |
commit | 82a4015692e630f36f94a55590c1b59b958c5a17 (patch) | |
tree | 72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/input/keyboardconfig.cpp | |
parent | afc6bb37100fd110512cd1119920719376e87ecf (diff) | |
download | manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2 manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.zip |
add missing const and static keywords.
Diffstat (limited to 'src/input/keyboardconfig.cpp')
-rw-r--r-- | src/input/keyboardconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp index d849c54d2..3756e27fb 100644 --- a/src/input/keyboardconfig.cpp +++ b/src/input/keyboardconfig.cpp @@ -72,7 +72,7 @@ int KeyboardConfig::getKeyValueFromEvent(const SDL_Event &event) return 0; } -int KeyboardConfig::getKeyIndex(const SDL_Event &event, const int grp) const +int KeyboardConfig::getKeyIndex(const SDL_Event &event, const int grp) { const int keyValue = getKeyValueFromEvent(event); return inputManager.getKeyIndex(keyValue, grp, INPUT_KEYBOARD); |