diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 23:26:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 23:26:55 +0300 |
commit | ab0b7e825a68e248be2e7bea6e3b3092366a210e (patch) | |
tree | a1a23112260161332f640e0f1481bb4bb3c1df3b /src/gui/windows/whoisonline.h | |
parent | 1d4cd150413526a998eb29e50c61ac8ef4d95f0e (diff) | |
download | plus-ab0b7e825a68e248be2e7bea6e3b3092366a210e.tar.gz plus-ab0b7e825a68e248be2e7bea6e3b3092366a210e.tar.bz2 plus-ab0b7e825a68e248be2e7bea6e3b3092366a210e.tar.xz plus-ab0b7e825a68e248be2e7bea6e3b3092366a210e.zip |
add restrict into whoisonline.
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r-- | src/gui/windows/whoisonline.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index 60aa67e93..5be22c73d 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -173,14 +173,15 @@ private: static size_t memoryWrite(void *ptr, size_t size, size_t nmemb, FILE *stream); - const std::string prepareNick(const std::string &nick, const int level, - const std::string &color) + const std::string prepareNick(const std::string &restrict nick, + const int level, + const std::string &restrict color) const A_WARN_UNUSED; - void updateWindow(std::vector<OnlinePlayer*> &friends, - std::vector<OnlinePlayer*> &neutral, - std::vector<OnlinePlayer*> &disregard, - std::vector<OnlinePlayer*> enemy, + void updateWindow(std::vector<OnlinePlayer*> &restrict friends, + std::vector<OnlinePlayer*> &restrict neutral, + std::vector<OnlinePlayer*> &restrict disregard, + std::vector<OnlinePlayer*> &restrict enemy, size_t numOnline); enum DownloadStatus |