summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/radiobutton.cpp3
-rw-r--r--src/gui/widgets/radiobutton.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index 1dff6ae7c..6ef7439b4 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -38,7 +38,8 @@ Skin *RadioButton::mSkin = nullptr;
float RadioButton::mAlpha = 1.0;
RadioButton::RadioButton(const Widget2 *const widget,
- const std::string &caption, const std::string &group,
+ const std::string &restrict caption,
+ const std::string &restrict group,
const bool marked):
gcn::RadioButton(caption, group, marked),
Widget2(widget),
diff --git a/src/gui/widgets/radiobutton.h b/src/gui/widgets/radiobutton.h
index 0bfd97c76..f701a6335 100644
--- a/src/gui/widgets/radiobutton.h
+++ b/src/gui/widgets/radiobutton.h
@@ -41,8 +41,10 @@ class RadioButton final : public gcn::RadioButton,
/**
* Constructor.
*/
- RadioButton(const Widget2 *const widget, const std::string &caption,
- const std::string &group, const bool marked = false);
+ RadioButton(const Widget2 *const widget,
+ const std::string &restrict caption,
+ const std::string &restrict group,
+ const bool marked = false);
A_DELETE_COPY(RadioButton)