summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:45 +0300
commitd5e0c211ced60c77acad477f30ef8039ef05b48b (patch)
tree82f6e5831ac4e10229a50721f51336422cb20f08 /src/input/inputmanager.h
parent2aa11a7780c0ee8244be91b45dc3c6c9927c1efe (diff)
downloadmanaplus-d5e0c211ced60c77acad477f30ef8039ef05b48b.tar.gz
manaplus-d5e0c211ced60c77acad477f30ef8039ef05b48b.tar.bz2
manaplus-d5e0c211ced60c77acad477f30ef8039ef05b48b.tar.xz
manaplus-d5e0c211ced60c77acad477f30ef8039ef05b48b.zip
Add const attribute to input.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 09ce00fed..9c11e03f4 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -64,7 +64,7 @@ class InputManager final
void callbackNewKey();
- InputFunction &getKey(InputActionT index) A_WARN_UNUSED;
+ InputFunction &getKey(InputActionT index) A_CONST A_WARN_UNUSED;
std::string getKeyValueString(const InputActionT index)
const A_WARN_UNUSED;