From b51356b80da3de094dea8b81747e7bdf25f00b55 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 19:51:37 +0300 Subject: add restrict into checkbox. --- src/gui/widgets/checkbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 71783794b..0dfd45745 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -38,9 +38,9 @@ Skin *CheckBox::mSkin = nullptr; float CheckBox::mAlpha = 1.0; CheckBox::CheckBox(const Widget2 *const widget, - const std::string &caption, const bool selected, + const std::string &restrict caption, const bool selected, gcn::ActionListener *const listener, - const std::string &eventId) : + const std::string &restrict eventId) : gcn::CheckBox(caption, selected), Widget2(widget), mPadding(0), -- cgit v1.2.3-70-g09d2