From 37c4338e84265705ec41c5da03e325255a9bce63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 17:30:18 +0300 Subject: Show object name/source in memory counting tree. --- src/resources/resource.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/resource.h') 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; } -- cgit v1.2.3-60-g2f50