diff options
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(); |