summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-17 22:45:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-17 22:45:02 +0300
commit520b6bbc44cf86dd0a761379e7002d850c7c0079 (patch)
tree0cc9243ec652d011b891d488099ab74f91e07ec6 /src/resources/resourcemanager.h
parent154186bc49d49f1c20c3fcf8ec79494460ed63af (diff)
downloadmanaverse-520b6bbc44cf86dd0a761379e7002d850c7c0079.tar.gz
manaverse-520b6bbc44cf86dd0a761379e7002d850c7c0079.tar.bz2
manaverse-520b6bbc44cf86dd0a761379e7002d850c7c0079.tar.xz
manaverse-520b6bbc44cf86dd0a761379e7002d850c7c0079.zip
fix crash on window resize.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 83c0036f2..72cad5988 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -240,6 +240,8 @@ class ResourceManager final
void clearDeleted(const bool full = true);
+ void decRefDelete(Resource *const res);
+
static void logResource(const Resource *const res);
/**