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/spellmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/spellmanager.h') diff --git a/src/spellmanager.h b/src/spellmanager.h index c6fd058ed..1b3316b36 100644 --- a/src/spellmanager.h +++ b/src/spellmanager.h @@ -51,7 +51,7 @@ class SpellManager final TextCommand *createNewSpell() const A_WARN_UNUSED; - const std::vector &getAll() const A_CONST A_WARN_UNUSED; + const STD_VECTOR &getAll() const A_CONST A_WARN_UNUSED; void useItem(const int itemId) const; @@ -82,7 +82,7 @@ class SpellManager final A_WARN_UNUSED; std::map mSpells; - std::vector mSpellsVector; + STD_VECTOR mSpellsVector; }; extern SpellManager *spellManager; -- cgit v1.2.3-70-g09d2