summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-03 21:48:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-03 21:48:54 +0300
commite848a47b6ceb86cb2a40d094d608b791aff674e6 (patch)
tree234f517187ea1bccb1f598c508c5fbd69f0417f3 /src/gui/sdlinput.h
parentb1d2dc573da58236e8a972bbab7a52345aeee8c1 (diff)
downloadmanaverse-e848a47b6ceb86cb2a40d094d608b791aff674e6.tar.gz
manaverse-e848a47b6ceb86cb2a40d094d608b791aff674e6.tar.bz2
manaverse-e848a47b6ceb86cb2a40d094d608b791aff674e6.tar.xz
manaverse-e848a47b6ceb86cb2a40d094d608b791aff674e6.zip
Add some const to sdlinput.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index f68612793..af74534c3 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -140,7 +140,7 @@ public:
*
* @param event an event from SDL.
*/
- virtual void pushInput(SDL_Event event);
+ virtual void pushInput(const SDL_Event &event);
/**
* Polls all input. It exists for input driver compatibility. If you