summaryrefslogtreecommitdiff
path: root/src/resources/map/speciallayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/speciallayer.h')
-rw-r--r--src/resources/map/speciallayer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resources/map/speciallayer.h b/src/resources/map/speciallayer.h
index f930a9759..b8b2c251a 100644
--- a/src/resources/map/speciallayer.h
+++ b/src/resources/map/speciallayer.h
@@ -21,6 +21,8 @@
#ifndef RESOURCES_MAP_SPECIALLAYER_H
#define RESOURCES_MAP_SPECIALLAYER_H
+#include "resources/memorycounter.h"
+
#include "position.h"
#include "localconsts.h"
@@ -28,7 +30,7 @@
class Graphics;
class MapItem;
-class SpecialLayer final
+class SpecialLayer final : public MemoryCounter
{
public:
friend class Map;
@@ -55,6 +57,8 @@ class SpecialLayer final
void clean() const;
+ int calcMemoryLocal() const override final;
+
private:
int mWidth;
int mHeight;