diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-10-16 01:03:02 +0300 |
commit | e15da561988948de26c80105dc9762943009b9e7 (patch) | |
tree | 717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/resources/resourcemanager | |
parent | 71cfaf012217cf3bbbc39207a12131b748535fcc (diff) | |
download | manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.gz manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.bz2 manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.xz manaverse-e15da561988948de26c80105dc9762943009b9e7.zip |
Fix code style, ignore some warning in clang-tidy
Diffstat (limited to 'src/resources/resourcemanager')
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp index 0764fe94f..74d079541 100644 --- a/src/resources/resourcemanager/resourcemanager.cpp +++ b/src/resources/resourcemanager/resourcemanager.cpp @@ -652,7 +652,7 @@ int calcMemoryLocal() int sz = 24; FOR_EACH (std::set<SDL_Surface*>::iterator, it, deletedSurfaces) { - sz += memoryManager.getSurfaceSize(*it); + sz += MemoryManager::getSurfaceSize(*it); } return sz; } @@ -681,7 +681,7 @@ int calcMemory(const int level) { const int sumLocal = calcMemoryLocal(); const int sumChilds = calcMemoryChilds(0); - memoryManager.printMemory("resource manager", + MemoryManager::printMemory("resource manager", level, sumLocal, sumChilds); |