summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widgetgroup.cpp')
-rw-r--r--src/gui/widgets/widgetgroup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/widgetgroup.cpp b/src/gui/widgets/widgetgroup.cpp
index b3f204120..a85250701 100644
--- a/src/gui/widgets/widgetgroup.cpp
+++ b/src/gui/widgets/widgetgroup.cpp
@@ -42,7 +42,8 @@ void WidgetGroup::addButton(const std::string &tag)
addButton(tag, tag);
}
-void WidgetGroup::addButton(const std::string &text, const std::string &tag)
+void WidgetGroup::addButton(const std::string &restrict text,
+ const std::string &restrict tag)
{
if (text.empty() || tag.empty())
return;