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/effectmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/effectmanager.cpp') diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index 383f997ab..79886293f 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -124,7 +124,7 @@ bool EffectManager::trigger(const int id, BLOCK_START("EffectManager::trigger") bool rValue = false; - FOR_EACH (std::vector::const_iterator, i, mEffects) + FOR_EACH (STD_VECTOR::const_iterator, i, mEffects) { const EffectDescription &effect = *i; if (effect.id == id) @@ -156,7 +156,7 @@ Particle *EffectManager::triggerReturn(const int id, return nullptr; Particle *rValue = nullptr; - FOR_EACH (std::vector::const_iterator, i, mEffects) + FOR_EACH (STD_VECTOR::const_iterator, i, mEffects) { const EffectDescription &effect = *i; if (effect.id == id) @@ -187,7 +187,7 @@ bool EffectManager::trigger(const int id, return false; bool rValue = false; - FOR_EACH (std::vector::const_iterator, i, mEffects) + FOR_EACH (STD_VECTOR::const_iterator, i, mEffects) { const EffectDescription &effect = *i; if (effect.id == id) -- cgit v1.2.3-70-g09d2