summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-30 15:05:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-30 15:06:56 +0300
commit177b4569cb798d8b292c66a93b42bf3224f9fdb7 (patch)
treec2af5f8511eb309bb35e7808fffb11062ba7b910 /src/resources
parent49ef874d739f7d9da226424935f65da2a342c6bb (diff)
downloadmanaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.gz
manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.bz2
manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.tar.xz
manaverse-177b4569cb798d8b292c66a93b42bf3224f9fdb7.zip
Fix compilation with debugging flags and show additional info on exit.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 4900b7ce3..0eadf683d 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -269,10 +269,10 @@ class ResourceManager
typedef Resources::iterator ResourceIterator;
#ifdef DEBUG_DUMP_LEAKS
- Resources* getResources() const
+ Resources* getResources()
{ return &mResources; }
- Resources* getOrphanedResources() const
+ Resources* getOrphanedResources()
{ return &mOrphanedResources; }
#endif