summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widgetgroup.h')
-rw-r--r--src/gui/widgets/widgetgroup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h
index a247f0bb8..b7ec6bd29 100644
--- a/src/gui/widgets/widgetgroup.h
+++ b/src/gui/widgets/widgetgroup.h
@@ -39,9 +39,10 @@ class WidgetGroup : public Container,
A_DELETE_COPY(WidgetGroup)
- virtual void addButton(std::string tag);
+ virtual void addButton(const std::string &tag);
- virtual void addButton(std::string text, std::string tag);
+ virtual void addButton(const std::string &text,
+ const std::string &tag);
void action(const gcn::ActionEvent &event) override;