diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-31 23:42:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-01 18:47:54 +0300 |
commit | ed3410d7eb61593a2235ddba97ce257c85e405a6 (patch) | |
tree | 565c93ff291f70749cda2f59a4cc6fcd015ff203 /src/keyinput.h | |
parent | 386dac2875f4a5ad4a534c403338db3b26239a68 (diff) | |
download | ManaVerse-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.gz ManaVerse-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.bz2 ManaVerse-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.xz ManaVerse-ed3410d7eb61593a2235ddba97ce257c85e405a6.zip |
Add const to more classes.
Diffstat (limited to 'src/keyinput.h')
-rw-r--r-- | src/keyinput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyinput.h b/src/keyinput.h index 89e29375a..52ca2f211 100644 --- a/src/keyinput.h +++ b/src/keyinput.h @@ -34,10 +34,10 @@ class KeyInput : public gcn::KeyInput ~KeyInput(); - void setActionId(int n) + void setActionId(const int n) { mActionId = n; } - int getActionId() + int getActionId() const { return mActionId; } protected: |