diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-28 19:31:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-28 20:29:17 +0300 |
commit | 74bccec70cf17b038a9add58b37d85f91ad04015 (patch) | |
tree | c70536d1025ab2f38d0c609e6607be5de9319c88 /src/gui/whoisonline.h | |
parent | db35a038130df28addb01636345587130c1e00f7 (diff) | |
download | plus-74bccec70cf17b038a9add58b37d85f91ad04015.tar.gz plus-74bccec70cf17b038a9add58b37d85f91ad04015.tar.bz2 plus-74bccec70cf17b038a9add58b37d85f91ad04015.tar.xz plus-74bccec70cf17b038a9add58b37d85f91ad04015.zip |
improve whoisonline.
Diffstat (limited to 'src/gui/whoisonline.h')
-rw-r--r-- | src/gui/whoisonline.h | 4 |
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, |