summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-28 19:31:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-28 20:29:17 +0300
commit74bccec70cf17b038a9add58b37d85f91ad04015 (patch)
treec70536d1025ab2f38d0c609e6607be5de9319c88 /src/gui/whoisonline.h
parentdb35a038130df28addb01636345587130c1e00f7 (diff)
downloadmanaverse-74bccec70cf17b038a9add58b37d85f91ad04015.tar.gz
manaverse-74bccec70cf17b038a9add58b37d85f91ad04015.tar.bz2
manaverse-74bccec70cf17b038a9add58b37d85f91ad04015.tar.xz
manaverse-74bccec70cf17b038a9add58b37d85f91ad04015.zip
improve whoisonline.
Diffstat (limited to 'src/gui/whoisonline.h')
-rw-r--r--src/gui/whoisonline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h
index 5aba33776..edbdc068c 100644
--- a/src/gui/whoisonline.h
+++ b/src/gui/whoisonline.h
@@ -170,8 +170,8 @@ private:
static size_t memoryWrite(void *ptr, size_t size, size_t nmemb,
FILE *stream);
- const std::string prepareNick(std::string nick, int level,
- std::string color) const A_WARN_UNUSED;
+ const std::string prepareNick(const std::string &nick, const int level,
+ const std::string &color) const A_WARN_UNUSED;
void updateWindow(std::vector<OnlinePlayer*> &friends,
std::vector<OnlinePlayer*> &neutral,