From e848a47b6ceb86cb2a40d094d608b791aff674e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Apr 2012 21:48:54 +0300 Subject: Add some const to sdlinput. --- src/gui/sdlinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/sdlinput.cpp') diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index e8660f861..3a4940d8b 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -106,7 +106,7 @@ gcn::MouseInput SDLInput::dequeueMouseInput() return mouseInput; } -void SDLInput::pushInput(SDL_Event event) +void SDLInput::pushInput(const SDL_Event &event) { gcn::KeyInput keyInput; gcn::MouseInput mouseInput; -- cgit v1.2.3-70-g09d2