diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:48:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:48:18 +0300 |
commit | 9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4 (patch) | |
tree | 9c5c497ebedefbeff0d4cf57782c83d5480438bb /src/input/keyboardconfig.cpp | |
parent | 3f76d07b673de76d7c4e434bd5a214f3480927cb (diff) | |
download | mv-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.gz mv-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.bz2 mv-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.xz mv-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.zip |
Add missing const and static into input classes.
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 6cf524842..d849c54d2 100644 --- a/src/input/keyboardconfig.cpp +++ b/src/input/keyboardconfig.cpp @@ -59,7 +59,7 @@ void KeyboardConfig::deinit() mActiveKeys2 = nullptr; } -int KeyboardConfig::getKeyValueFromEvent(const SDL_Event &event) const +int KeyboardConfig::getKeyValueFromEvent(const SDL_Event &event) { #ifdef USE_SDL2 return event.key.keysym.scancode; |