summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 19:20:30 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 19:20:30 +0200
commit69258182848b2781b0081d82453d33f42dd81679 (patch)
tree38d64cf8b1884727b941aecb95562f4390ad482b /src/gui/widgets/chattab.cpp
parent736795a624ae5f04b11fa284cb8a4b14579c1766 (diff)
downloadmana-69258182848b2781b0081d82453d33f42dd81679.tar.gz
mana-69258182848b2781b0081d82453d33f42dd81679.tar.bz2
mana-69258182848b2781b0081d82453d33f42dd81679.tar.xz
mana-69258182848b2781b0081d82453d33f42dd81679.zip
Some cleanups
* std::string arguments to 'const std::string &' * findMember2 renamed to findOrCreateMember * Made some functions const
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 0e3ae423..44840423 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -274,7 +274,7 @@ void ChatTab::handleInput(const std::string &msg) {
Net::getChatHandler()->talk(msg);
}
-void ChatTab::handleCommand(std::string msg)
+void ChatTab::handleCommand(const std::string &msg)
{
commandHandler->handleCommand(msg, this);
}