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/resources/atlas/textureatlas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/atlas/textureatlas.h') diff --git a/src/resources/atlas/textureatlas.h b/src/resources/atlas/textureatlas.h index a1fe4d145..ff74049d5 100644 --- a/src/resources/atlas/textureatlas.h +++ b/src/resources/atlas/textureatlas.h @@ -59,7 +59,7 @@ struct TextureAtlas final : public MemoryCounter int calcMemoryChilds(const int level) const override final { int sz = 0; - FOR_EACH (std::vector::const_iterator, it, items) + FOR_EACH (STD_VECTOR::const_iterator, it, items) { AtlasItem *const item = *it; sz += item->calcMemory(level + 1); @@ -74,7 +74,7 @@ struct TextureAtlas final : public MemoryCounter Image *atlasImage; int width; int height; - std::vector items; + STD_VECTOR items; }; #endif // USE_OPENGL -- cgit v1.2.3-70-g09d2