diff options
Diffstat (limited to 'src/game-server/resourcemanager.hpp')
-rw-r--r-- | src/game-server/resourcemanager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/resourcemanager.hpp b/src/game-server/resourcemanager.hpp index 9df36abe..7c346f19 100644 --- a/src/game-server/resourcemanager.hpp +++ b/src/game-server/resourcemanager.hpp @@ -34,7 +34,7 @@ namespace ResourceManager /** * Checks whether the given file or directory exists in the search path */ - bool exists(std::string const &path); + bool exists(const std::string &path); /** * Allocates data into a buffer pointer for raw data loading. The @@ -47,7 +47,7 @@ namespace ResourceManager * or <code>NULL</code> on failure. * @note The array contains an extra \0 character at position fileSize. */ - char *loadFile(std::string const &fileName, int &fileSize); + char *loadFile(const std::string &fileName, int &fileSize); } #endif |