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:
authorViktor <vng@Viktors-MacBook-Pro-2.local>2015-07-04 12:26:46 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:54:15 +0300
commit66c409971d994c60dcbef704c6d58799613658fb (patch)
tree0c0e1d03674f2dc2b3bd11f5e03fc3c97c0054b4 /platform/platform.hpp
parentc966bfed30e064149cf8f9c6aa06d9281a5a5c21 (diff)
Review fixes.
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r--platform/platform.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp
index 930f488bba..f224a6b68d 100644
--- a/platform/platform.hpp
+++ b/platform/platform.hpp
@@ -88,7 +88,7 @@ public:
/// @return always the same writable dir for current user with slash at the end
string WritableDir() const { return m_writableDir; }
/// Set writable dir — use for testing and linux stuff only
- void SetWritableDirForTests(string const & path) { m_writableDir = path; }
+ void SetWritableDirForTests(string const & path);
/// @return full path to file in user's writable directory
string WritablePathForFile(string const & file) const { return WritableDir() + file; }
/// @return full path to indexes directory for country file.
@@ -101,7 +101,7 @@ public:
string ResourcesDir() const { return m_resourcesDir; }
/// @note! This function is used in generator_tool and unit tests.
/// Client app should not replace default resource dir.
- void SetResourceDir(string const & path) { m_resourcesDir = path; }
+ void SetResourceDir(string const & path);
/// Creates directory at filesystem
EError MkDir(string const & dirName) const;
@@ -116,7 +116,7 @@ public:
/// @return full path to file in the temporary directory
string TmpPathForFile(string const & file) const { return TmpDir() + file; }
- /// @return full path to file where stored data for unit tests.
+ /// @return full path to the file where data for unit tests is stored.
string TestsDataPathForFile(string const & file) const { return ReadPathForFile(file); }
/// @return path for directory in the persistent memory, can be the same