diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-17 20:23:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-17 20:23:57 +0300 |
commit | 3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41 (patch) | |
tree | bb1a7119235d95c4af0930e20cea31f4d9074307 /src/map.h | |
parent | 6afba95ef62b22c303336adba6d891eeffe66c49 (diff) | |
download | manaverse-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.gz manaverse-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.bz2 manaverse-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.tar.xz manaverse-3293fb7b5df3c93b7b6cccf56feb4fa42fd1ea41.zip |
Reserve some memory for image vectors.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -60,7 +60,9 @@ class MapRowVertexes { public: MapRowVertexes() - { } + { + images.reserve(30); + } ~MapRowVertexes(); |