summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 23:14:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-01 02:08:53 +0300
commit32014de9008efe051a1a8b05e5e976a4629b34d2 (patch)
tree694b93739685b8b8462c7f602b8ae693be5e65bf /src/graphicsvertexes.h
parent5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff)
downloadmanaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.zip
Replace some lists to vectors.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index d3905ba56..c5daab6cb 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -52,7 +52,7 @@ class SDLGraphicsVertexes
~SDLGraphicsVertexes();
- std::list<DoubleRect*> mList;
+ std::vector<DoubleRect*> mList;
};
#ifdef USE_OPENGL
@@ -125,7 +125,7 @@ class GraphicsVertexes
void clearSDL();
- std::list<DoubleRect*> *getRectsSDL();
+ std::vector<DoubleRect*> *getRectsSDL();
void incPtr(int num = 1)
{ mPtr += num; }