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 20:10:08 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:29 +0300
commit67bac9dd063c6192fa720047f39fed6b896a43c6 (patch)
treed24b13ee53e00686c6542d42891f4048ce82f5d1 /indexer/index.cpp
parentfee868eb36e2573a7665e36c4acd783ebc8d5803 (diff)
[platform] Fixed World/WorldCoasts lookup on non-Android platforms.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index b1c7289fce..c78984a1fd 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -1,13 +1,13 @@
#include "indexer/index.hpp"
#include "platform/platform.hpp"
+#include "platform/local_country_file_utils.hpp"
#include "coding/file_name_utils.hpp"
#include "coding/internal/file_data.hpp"
#include "base/logging.hpp"
-
using platform::CountryFile;
using platform::LocalCountryFile;
@@ -16,8 +16,9 @@ using platform::LocalCountryFile;
//////////////////////////////////////////////////////////////////////////////////
MwmValue::MwmValue(LocalCountryFile const & localFile)
- : m_cont(GetPlatform().GetCountryReader(localFile, TMapOptions::EMap)),
- m_countryFile(localFile.GetCountryFile()), m_table(0)
+ : m_cont(platform::GetCountryReader(localFile, TMapOptions::EMap)),
+ m_countryFile(localFile.GetCountryFile()),
+ m_table(0)
{
m_factory.Load(m_cont);
}