diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/resources/resourcemanager.h | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 7b61e2eaa..9df96d354 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -254,17 +254,17 @@ class ResourceManager */ static void deleteInstance(); - int size() + int size() const { return mResources.size(); } typedef std::map<std::string, Resource*> Resources; typedef Resources::iterator ResourceIterator; #ifdef DEBUG_DUMP_LEAKS - Resources* getResources() + Resources* getResources() const { return &mResources; } - Resources* getOrphanedResources() + Resources* getOrphanedResources() const { return &mOrphanedResources; } #endif |