diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 18:41:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 22:08:24 +0300 |
commit | d49a520d19f28c613c68b574686b182a9c0621be (patch) | |
tree | 5b6943125fd364eaaaaa295b45100cdfc473dd93 /src/resources/resourcemanager.h | |
parent | 14f55eb8c6e44763e70046b9661bd056280226a5 (diff) | |
download | manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.gz manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.bz2 manaplus-d49a520d19f28c613c68b574686b182a9c0621be.tar.xz manaplus-d49a520d19f28c613c68b574686b182a9c0621be.zip |
Add missing checks into resources directory.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index c98d7957f..afe158d78 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -198,8 +198,6 @@ class ResourceManager final void decRefDelete(Resource *const res); - static void logResource(const Resource *const res); - /** * Move resource to deleted resources list. */ @@ -262,6 +260,8 @@ class ResourceManager final */ static void cleanUp(Resource *const resource); + static void logResource(const Resource *const res); + static ResourceManager *instance; std::set<SDL_Surface*> deletedSurfaces; Resources mResources; |