From 07675230038a24dd251581591379c8fe5cc7bfd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Apr 2016 20:11:07 +0300 Subject: Add memory count functions into MapLayer and SpecailLayer. Also change all memory count functions into const methods. --- src/resources/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/image.h') diff --git a/src/resources/image.h b/src/resources/image.h index 7fbbcac21..e1c100e28 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -189,7 +189,7 @@ class Image notfinal : public Resource SDL_Surface* getSDLSurface() { return mSDLSurface; } - int calcMemoryLocal() override; + int calcMemoryLocal() const override; SDL_Rect mBounds; -- cgit v1.2.3-70-g09d2