From c79403e1341ac533df1771b866d1f5cee15e12b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Aug 2012 01:59:04 +0300 Subject: Add const to more classes. --- src/gui/sdlinput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/sdlinput.h') diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index b6b41fe5c..db082ef2a 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -173,7 +173,7 @@ protected: * @param button an SDL mouse button. * @return a Guichan mouse button. */ - int convertMouseButton(int button); + static int convertMouseButton(const int button); /** * Converts an SDL event key to a key value. @@ -182,7 +182,7 @@ protected: * @return a key value. * @see Key */ - int convertKeyCharacter(SDL_Event event); + static int convertKeyCharacter(SDL_Event event); std::queue mKeyInputQueue; std::queue mMouseInputQueue; -- cgit v1.2.3-70-g09d2