diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2013-10-28 14:03:09 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:04:08 +0300 |
commit | cade0f6a737b851516077760449762a5df676db5 (patch) | |
tree | 082ea3849acdccf9ce112a3545fc79c2af75e26d /platform/platform.hpp | |
parent | f219dfe8f90d32116ef7ce41b306a799c62e4cde (diff) |
Changed char const * to string const &
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r-- | platform/platform.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index ec7399edc1..6a3572fc21 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -45,7 +45,7 @@ protected: /// Internal function to get full path for input file. /// Uses m_writeableDir and m_resourcesDir. - string ReadPathForFile(string const & file, char const * searchScope) const; + string ReadPathForFile(string const & file, string const & searchScope) const; /// Hash some unique string into uniform format. static string HashUniqueID(string const & s); @@ -79,7 +79,7 @@ public: /// @param[in] file name or full path which we want to read, don't forget to free memory or wrap it to ReaderPtr /// @param[in] searchScope looks for file in dirs in given order: [w]ritable, [r]esources, by [f]ull path /// @TODO add [e]xternal resource scope for Android (obb support) - ModelReader * GetReader(string const & file, char const * searchScope = "wrf") const; + ModelReader * GetReader(string const & file, string const & searchScope = "wrf") const; /// @name File operations //@{ |