summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 90cea413c..4d9e03f2d 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -101,6 +101,9 @@ class Resource notfinal : public MemoryCounter
int calcMemoryLocal() const override;
+ std::string getCounterName() const override
+ { return mIdPath + "-" + mSource; }
+
#ifdef DEBUG_DUMP_LEAKS
bool getDumped() const A_WARN_UNUSED
{ return mDumped; }