diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 22:28:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 22:28:51 +0300 |
commit | eeb6f3b831e707b413a10de53c7f72139e73f963 (patch) | |
tree | 1a6eb21cf6ddd74111cda9f94129846ecea7b083 /src/resources | |
parent | e29c975369db3c0999de16d6a4fb529e4490d24e (diff) | |
download | manaplus-eeb6f3b831e707b413a10de53c7f72139e73f963.tar.gz manaplus-eeb6f3b831e707b413a10de53c7f72139e73f963.tar.bz2 manaplus-eeb6f3b831e707b413a10de53c7f72139e73f963.tar.xz manaplus-eeb6f3b831e707b413a10de53c7f72139e73f963.zip |
Remove default parameters from resourcemanager.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.cpp | 2 | ||||
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp index 98c9baab5..787d84545 100644 --- a/src/resources/resourcemanager/resourcemanager.cpp +++ b/src/resources/resourcemanager/resourcemanager.cpp @@ -174,7 +174,7 @@ void deleteResourceManager() ++iter; } } - clearDeleted(); + clearDeleted(true); clearScheduled(); mDestruction = false; } diff --git a/src/resources/resourcemanager/resourcemanager.h b/src/resources/resourcemanager/resourcemanager.h index 1ca9aecf1..6e4e733a7 100644 --- a/src/resources/resourcemanager/resourcemanager.h +++ b/src/resources/resourcemanager/resourcemanager.h @@ -71,7 +71,7 @@ namespace ResourceManager */ void release(Resource *const res); - void clearDeleted(const bool full = true); + void clearDeleted(const bool full); void decRefDelete(Resource *const res); @@ -99,7 +99,7 @@ namespace ResourceManager const std::set<Resource*> &getDeletedResources() A_WARN_UNUSED; #endif // defined(DEBUG_DUMP_LEAKS) || defined(UNITTESTS) - bool cleanOrphans(const bool always = false); + bool cleanOrphans(const bool always); void cleanProtected(); |