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/compoundsprite.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/compoundsprite.h') diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 92474025a..bf6679963 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -36,8 +36,8 @@ class Image; class CompoundSprite notfinal : public Sprite { public: - typedef std::vector::iterator SpriteIterator; - typedef std::vector::const_iterator SpriteConstIterator; + typedef STD_VECTOR::iterator SpriteIterator; + typedef STD_VECTOR::const_iterator SpriteConstIterator; CompoundSprite(); @@ -107,7 +107,7 @@ class CompoundSprite notfinal : public Sprite int getStartTime() const noexcept2 A_WARN_UNUSED { return mStartTime; } - std::vector mSprites; + STD_VECTOR mSprites; protected: void redraw() const; -- cgit v1.2.3-70-g09d2