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/subimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/subimage.cpp') diff --git a/src/resources/subimage.cpp b/src/resources/subimage.cpp index 1b8cc9ec8..0652195dd 100644 --- a/src/resources/subimage.cpp +++ b/src/resources/subimage.cpp @@ -223,7 +223,7 @@ void SubImage::decRef() } #endif -int SubImage::calcMemoryLocal() +int SubImage::calcMemoryLocal() const { int sz = sizeof(SubImage) + sizeof(std::map) + -- cgit v1.2.3-70-g09d2