summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 18:30:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 18:30:46 +0300
commitb3f3ad6d71bf973974da485d08d5acac5db15ba8 (patch)
treebead963da81580c6ab7716a40b48d149fe6d8a45 /src/resources
parent1dca2012e1eb6083fc71c573c148e4c197a2bfad (diff)
downloadplus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.gz
plus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.bz2
plus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.xz
plus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.zip
Add name into AtlasItem memory object.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/atlas/atlasitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/atlas/atlasitem.h b/src/resources/atlas/atlasitem.h
index a5d4d9116..835d7faa8 100644
--- a/src/resources/atlas/atlasitem.h
+++ b/src/resources/atlas/atlasitem.h
@@ -50,6 +50,9 @@ struct AtlasItem final : public MemoryCounter
// +++ here need print, but not add to sum size of image
}
+ std::string getCounterName() const override
+ { return name; }
+
Image *image;
std::string name;
int x;