summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index d934817b0..ff9c4f6db 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -41,7 +41,8 @@ typedef std::vector<ImageVertexes*> MepRowImages;
class MapRowVertexes final
{
public:
- MapRowVertexes()
+ MapRowVertexes() :
+ images()
{
images.reserve(30);
}
@@ -68,8 +69,10 @@ class MapObject final
class MapObjectList final
{
public:
- MapObjectList()
- { }
+ MapObjectList() :
+ objects()
+ {
+ }
A_DELETE_COPY(MapObjectList)