diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 2df2f431b..02ce9c6f7 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -67,15 +67,18 @@ #undef malloc #endif -class NameFunctuator final +namespace { - public: - bool operator()(const OnlinePlayer *left, - const OnlinePlayer *right) const - { - return (compareStrI(left->getNick(), right->getNick()) < 0); - } -} nameCompare; + class NameFunctuator final + { + public: + bool operator()(const OnlinePlayer *left, + const OnlinePlayer *right) const + { + return (compareStrI(left->getNick(), right->getNick()) < 0); + } + } nameCompare; +} // namespace WhoIsOnline::WhoIsOnline() : // TRANSLATORS: who is online window name |