summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/textbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-09 14:50:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-09 14:50:46 +0300
commit535951ad315101546f54071c56c3ab1ec6a61df3 (patch)
tree1dfd03918874f97a4e9dac2be7b555848ae33ed9 /src/guichan/widgets/textbox.cpp
parent85fbff517d7f2bd6a6e26037266702bd2e16e1e9 (diff)
downloadplus-535951ad315101546f54071c56c3ab1ec6a61df3.tar.gz
plus-535951ad315101546f54071c56c3ab1ec6a61df3.tar.bz2
plus-535951ad315101546f54071c56c3ab1ec6a61df3.tar.xz
plus-535951ad315101546f54071c56c3ab1ec6a61df3.zip
Use references in some guichan calls.
Diffstat (limited to 'src/guichan/widgets/textbox.cpp')
-rw-r--r--src/guichan/widgets/textbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp
index fc133ba9b..2c6066976 100644
--- a/src/guichan/widgets/textbox.cpp
+++ b/src/guichan/widgets/textbox.cpp
@@ -319,7 +319,7 @@ namespace gcn
return mEditable;
}
- void TextBox::addRow(const std::string row)
+ void TextBox::addRow(const std::string &row)
{
mTextRows.push_back(row);
adjustSize();