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/being/playerrelations.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/playerrelations.h') diff --git a/src/being/playerrelations.h b/src/being/playerrelations.h index c9e5952f2..d1db4a003 100644 --- a/src/being/playerrelations.h +++ b/src/being/playerrelations.h @@ -118,7 +118,7 @@ class PlayerRelationsManager final * The player ignore strategies are allocated statically and must * not be deleted. */ - std::vector *getPlayerIgnoreStrategies() + STD_VECTOR *getPlayerIgnoreStrategies() A_WARN_UNUSED; /** @@ -202,7 +202,7 @@ class PlayerRelationsManager final PlayerIgnoreStrategy *mIgnoreStrategy; std::map mRelations; std::list mListeners; - std::vector mIgnoreStrategies; + STD_VECTOR mIgnoreStrategies; }; -- cgit v1.2.3-70-g09d2