From 88030a157a1f7a44368946324fb01642d8d3f83f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Apr 2013 16:55:01 +0300 Subject: improve resourcemanager class. --- src/resources/resourcemanager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/resourcemanager.h') diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 32def7446..1e9124cc3 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -237,7 +237,7 @@ class ResourceManager final */ void release(Resource *const res); - void clearDeleted(bool full = true); + void clearDeleted(const bool full = true); static void logResource(const Resource *const res); @@ -271,8 +271,8 @@ class ResourceManager final static StringVect loadTextFileLocal(const std::string &fileName) A_WARN_UNUSED; - void saveTextFile(std::string path, std::string name, - std::string text) const; + void saveTextFile(std::string path, const std::string name, + const std::string text) const; Image *getRescaled(Image *const image, const int width, const int height) A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50