From 4df121e6dcdf53436f50ce81dd60096ce0138a2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Sep 2012 20:49:03 +0300 Subject: Add const to more classes. --- src/guichan/inputevent.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/guichan/inputevent.cpp') diff --git a/src/guichan/inputevent.cpp b/src/guichan/inputevent.cpp index 53ae91442..4b0bec69d 100644 --- a/src/guichan/inputevent.cpp +++ b/src/guichan/inputevent.cpp @@ -52,11 +52,11 @@ namespace gcn { - InputEvent::InputEvent(Widget* source, - bool shiftPressed, - bool controlPressed, - bool altPressed, - bool metaPressed) + InputEvent::InputEvent(Widget *const source, + const bool shiftPressed, + const bool controlPressed, + const bool altPressed, + const bool metaPressed) :Event(source), mShiftPressed(shiftPressed), mControlPressed(controlPressed), -- cgit v1.2.3-60-g2f50