Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2013-10-28 14:03:09 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:04:08 +0300
commitcade0f6a737b851516077760449762a5df676db5 (patch)
tree082ea3849acdccf9ce112a3545fc79c2af75e26d /platform/platform.hpp
parentf219dfe8f90d32116ef7ce41b306a799c62e4cde (diff)
Changed char const * to string const &
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r--platform/platform.hpp4
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
//@{