diff options
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, |