summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/radiobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/radiobutton.cpp')
-rw-r--r--src/guichan/widgets/radiobutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/radiobutton.cpp b/src/guichan/widgets/radiobutton.cpp
index 7811ea558..c5c0b1ebd 100644
--- a/src/guichan/widgets/radiobutton.cpp
+++ b/src/guichan/widgets/radiobutton.cpp
@@ -123,7 +123,7 @@ namespace gcn
return mCaption;
}
- void RadioButton::setCaption(const std::string caption)
+ void RadioButton::setCaption(const std::string &caption)
{
mCaption = caption;
}