summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/checkbox.h')
-rw-r--r--src/gui/widgets/checkbox.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h
index c28eab90b..3728d58bf 100644
--- a/src/gui/widgets/checkbox.h
+++ b/src/gui/widgets/checkbox.h
@@ -44,9 +44,10 @@ class CheckBox final : public gcn::CheckBox,
* Constructor.
*/
CheckBox(const Widget2 *const widget,
- const std::string &caption, const bool selected = false,
+ const std::string &restrict caption,
+ const bool selected = false,
gcn::ActionListener *const listener = nullptr,
- const std::string &eventId = "");
+ const std::string &restrict eventId = "");
A_DELETE_COPY(CheckBox)