summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabstrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r--src/gui/widgets/tabstrip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp
index 3e408288d..8eb32e038 100644
--- a/src/gui/widgets/tabstrip.cpp
+++ b/src/gui/widgets/tabstrip.cpp
@@ -38,7 +38,7 @@ TabStrip::TabStrip(const int height, const int spacing) :
{
}
-gcn::Widget *TabStrip::createWidget(std::string text)
+gcn::Widget *TabStrip::createWidget(const std::string &text)
{
Button *const widget = new Button();
widget->setStick(true);