From 535951ad315101546f54071c56c3ab1ec6a61df3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jun 2012 14:50:46 +0300 Subject: Use references in some guichan calls. --- src/guichan/widgets/textbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guichan/widgets') 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(); -- cgit v1.2.3-60-g2f50