summaryrefslogtreecommitdiff
path: root/src/resources/memorymanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 17:30:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 17:30:18 +0300
commit37c4338e84265705ec41c5da03e325255a9bce63 (patch)
treed159e2db539aaf0f8e0d25c9d7ecde5fb37d8a98 /src/resources/memorymanager.h
parent2c93aa0a1e25f39ab351a4f12c5fd7f188a528a2 (diff)
downloadmanaplus-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/memorymanager.h')
-rw-r--r--src/resources/memorymanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/memorymanager.h b/src/resources/memorymanager.h
index 9243989d3..58fdbbbb5 100644
--- a/src/resources/memorymanager.h
+++ b/src/resources/memorymanager.h
@@ -21,6 +21,8 @@
#ifndef MEMORYMANAGER_H
#define MEMORYMANAGER_H
+#include <string>
+
#include "localconsts.h"
class ChatTab;
@@ -39,7 +41,8 @@ class MemoryManager final
int getSurfaceSize(const SDL_Surface *const surface);
- void printMemory(const int level,
+ void printMemory(const std::string &name,
+ const int level,
const int localSum,
const int childsSum);