From 311c175f3184103950c72bc5c775174597430b83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Jul 2017 01:31:22 +0300 Subject: Replace std::vector into macro STD_VECTOR. In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features. --- src/gui/windows/whoisonline.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/windows/whoisonline.h') diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index 9f2fdf705..0eb316197 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -65,7 +65,7 @@ class WhoIsOnline final : public Window, void loadWebList(); #endif // TMWA_SUPPORT - void loadList(const std::vector &list); + void loadList(const STD_VECTOR &list); void handleLink(const std::string& link, MouseEvent *event) override final; @@ -154,10 +154,10 @@ class WhoIsOnline final : public Window, std::set mOnlinePlayers; std::set mOnlineNicks; - std::vector mFriends; - std::vector mNeutral; - std::vector mDisregard; - std::vector mEnemy; + STD_VECTOR mFriends; + STD_VECTOR mNeutral; + STD_VECTOR mDisregard; + STD_VECTOR mEnemy; /** Byte count currently downloaded in mMemoryBuffer. */ int mDownloadedBytes; -- cgit v1.2.3-60-g2f50