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/include/guichan/widgets/textbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guichan/include') diff --git a/src/guichan/include/guichan/widgets/textbox.hpp b/src/guichan/include/guichan/widgets/textbox.hpp index 6393306d8..ef12e36fe 100644 --- a/src/guichan/include/guichan/widgets/textbox.hpp +++ b/src/guichan/include/guichan/widgets/textbox.hpp @@ -203,7 +203,7 @@ namespace gcn * * @param row The row to add. */ - virtual void addRow(const std::string row); + virtual void addRow(const std::string &row); /** * Checks if the text box is opaque. An opaque text box will draw -- cgit v1.2.3-70-g09d2