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:
authorYuri Gorshenin <y@maps.me>2015-07-23 14:14:03 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:17 +0300
commitd38ea5aba203b2949cf52ae7da19ec92336b9409 (patch)
tree62e55d9779c23e51d47f31665653e516420d7be0 /platform
parentb0af8afca79ef7b217a88e2309298bc6fa90e01d (diff)
[platform] Fixed creation of temprorary local country files.
Diffstat (limited to 'platform')
-rw-r--r--platform/local_country_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/local_country_file.cpp b/platform/local_country_file.cpp
index 80ba93904f..3b700b9a7a 100644
--- a/platform/local_country_file.cpp
+++ b/platform/local_country_file.cpp
@@ -107,7 +107,7 @@ LocalCountryFile LocalCountryFile::MakeTemporary(string const & fullPath)
my::GetNameFromFullPath(name);
my::GetNameWithoutExt(name);
- return LocalCountryFile(GetPlatform().WritableDir(), CountryFile(name), 0 /* version */);
+ return LocalCountryFile(my::GetDirectory(fullPath), CountryFile(name), 0 /* version */);
}