summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:31:00 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:37:38 +0200
commitcc28b48adcc8ef3b584312e598035c34384dcf78 (patch)
tree37987edf34e2c916def7ee2abc634f5ad0aec7da /src/gui/chat.h
parentc354af888779c9038cedf64c1502574eb8b29399 (diff)
downloadmana-cc28b48adcc8ef3b584312e598035c34384dcf78.tar.gz
mana-cc28b48adcc8ef3b584312e598035c34384dcf78.tar.bz2
mana-cc28b48adcc8ef3b584312e598035c34384dcf78.tar.xz
mana-cc28b48adcc8ef3b584312e598035c34384dcf78.zip
Made some parameters const references like they should be
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index c6e8e326..7080392e 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -136,7 +136,7 @@ class ChatWindow : public Window,
*
* @param msg The message text which is to be sent.
*/
- void chatInput(std::string &msg);
+ void chatInput(const std::string &msg);
/** Called when key is pressed */
void keyPressed(gcn::KeyEvent &event);
@@ -171,7 +171,7 @@ class ChatWindow : public Window,
void doPresent();
- void whisper(const std::string &nick, std::string mes,
+ void whisper(const std::string &nick, const std::string &mes,
bool own = false);
ChatTab *addWhisperTab(const std::string &nick, bool switchTo = false);