diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-23 20:10:08 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:29 +0300 |
commit | 67bac9dd063c6192fa720047f39fed6b896a43c6 (patch) | |
tree | d24b13ee53e00686c6542d42891f4048ce82f5d1 /indexer/index.cpp | |
parent | fee868eb36e2573a7665e36c4acd783ebc8d5803 (diff) |
[platform] Fixed World/WorldCoasts lookup on non-Android platforms.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 7 |
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); } |