summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-16 16:55:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-16 16:55:01 +0300
commit88030a157a1f7a44368946324fb01642d8d3f83f (patch)
tree011da64f210e1d0ed9dd2aecaa1cf83dfbc7d990 /src/resources/resourcemanager.h
parent2a570552b521d10876e5fc7a1d7e9b886a19c93e (diff)
downloadManaVerse-88030a157a1f7a44368946324fb01642d8d3f83f.tar.gz
ManaVerse-88030a157a1f7a44368946324fb01642d8d3f83f.tar.bz2
ManaVerse-88030a157a1f7a44368946324fb01642d8d3f83f.tar.xz
ManaVerse-88030a157a1f7a44368946324fb01642d8d3f83f.zip
improve resourcemanager class.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h6
1 files changed, 3 insertions, 3 deletions
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;