From ed3410d7eb61593a2235ddba97ce257c85e405a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 31 Aug 2012 23:42:43 +0300 Subject: Add const to more classes. --- src/keyinput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/keyinput.h') 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: -- cgit v1.2.3-60-g2f50