summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp2
1 files changed, 1 insertions, 1 deletions
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;