diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 17:30:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 17:30:18 +0300 |
commit | 37c4338e84265705ec41c5da03e325255a9bce63 (patch) | |
tree | d159e2db539aaf0f8e0d25c9d7ecde5fb37d8a98 /src/resources/memorycounter.h | |
parent | 2c93aa0a1e25f39ab351a4f12c5fd7f188a528a2 (diff) | |
download | manaplus-37c4338e84265705ec41c5da03e325255a9bce63.tar.gz manaplus-37c4338e84265705ec41c5da03e325255a9bce63.tar.bz2 manaplus-37c4338e84265705ec41c5da03e325255a9bce63.tar.xz manaplus-37c4338e84265705ec41c5da03e325255a9bce63.zip |
Show object name/source in memory counting tree.
Diffstat (limited to 'src/resources/memorycounter.h')
-rw-r--r-- | src/resources/memorycounter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/memorycounter.h b/src/resources/memorycounter.h index 94593b717..809a6196d 100644 --- a/src/resources/memorycounter.h +++ b/src/resources/memorycounter.h @@ -21,6 +21,8 @@ #ifndef RESOURCES_MEMORYCOUNTER_H #define RESOURCES_MEMORYCOUNTER_H +#include <string> + #include "localconsts.h" class MemoryCounter notfinal @@ -36,6 +38,9 @@ class MemoryCounter notfinal virtual int calcMemoryLocal() const; virtual int calcMemoryChilds(const int level) const; + + virtual std::string getCounterName() const + { return "unknown"; } }; #endif // RESOURCES_MEMORYCOUNTER_H |