diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-30 15:05:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-30 15:06:56 +0300 |
commit | 177b4569cb798d8b292c66a93b42bf3224f9fdb7 (patch) | |
tree | c2af5f8511eb309bb35e7808fffb11062ba7b910 /src/resources/resourcemanager.h | |
parent | 49ef874d739f7d9da226424935f65da2a342c6bb (diff) | |
download | ManaVerse-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/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 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 |