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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h
index d70aa977f..ad2ee4e64 100644
--- a/src/gui/widgets/widgetgroup.h
+++ b/src/gui/widgets/widgetgroup.h
@@ -46,7 +46,7 @@ class WidgetGroup : public Container,
void widgetResized(const gcn::Event &event);
- virtual Widget *createWidget(std::string name) = 0;
+ virtual Widget *createWidget(const std::string &name) = 0;
protected:
int mSpacing;