diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-26 20:08:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-26 20:08:06 +0300 |
commit | d60eec2c2cd453ecbaee7883a272479792875465 (patch) | |
tree | e69ce19116c4d7eb043c33bc577866959bc87b43 /src/resources | |
parent | 5560a44ff5beea4fc2b88a589a3f915b9d0555d2 (diff) | |
download | manaverse-d60eec2c2cd453ecbaee7883a272479792875465.tar.gz manaverse-d60eec2c2cd453ecbaee7883a272479792875465.tar.bz2 manaverse-d60eec2c2cd453ecbaee7883a272479792875465.tar.xz manaverse-d60eec2c2cd453ecbaee7883a272479792875465.zip |
fix code style more.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager.cpp | 4 | ||||
-rw-r--r-- | src/resources/resourcemanager.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index dd2e6c5ac..c8230550a 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -1016,8 +1016,8 @@ StringVect ResourceManager::loadTextFileLocal( return lines; } -void ResourceManager::saveTextFile(std::string path, const std::string name, - const std::string text) const +void ResourceManager::saveTextFile(std::string path, const std::string &name, + const std::string &text) const { if (!mkdir_r(path.c_str())) { diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 1e9124cc3..d45a4ba11 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -271,8 +271,8 @@ class ResourceManager final static StringVect loadTextFileLocal(const std::string &fileName) A_WARN_UNUSED; - void saveTextFile(std::string path, const std::string name, - const 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; |