summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch)
tree46018d5b85c669961fb2fe6ab8af06f432139999 /src/input/inputmanager.h
parentfdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff)
downloadplus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip
Add missing static keywords
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index dfbe8639a..f1eda8aae 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -143,8 +143,7 @@ class InputManager final
InputActionT getActionByKey(const SDL_Event &restrict event)
const restrict2 A_WARN_UNUSED;
- InputActionT getActionByConfigField(const std::string &field)
- const restrict2 A_WARN_UNUSED;
+ static InputActionT getActionByConfigField(const std::string &field);
void executeAction(const InputActionT keyNum) restrict2;
@@ -160,7 +159,7 @@ class InputManager final
const std::string &restrict args,
ChatTab *restrict const tab) restrict2;
- void addChatCommands(std::list<std::string> &restrict arr) restrict;
+ static void addChatCommands(std::list<std::string> &restrict arr);
protected:
void resetKey(const InputActionT i) restrict2;