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 /map/mwm_tests | |
parent | fee868eb36e2573a7665e36c4acd783ebc8d5803 (diff) |
[platform] Fixed World/WorldCoasts lookup on non-Android platforms.
Diffstat (limited to 'map/mwm_tests')
-rw-r--r-- | map/mwm_tests/mwm_foreach_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/map/mwm_tests/mwm_foreach_test.cpp b/map/mwm_tests/mwm_foreach_test.cpp index ef6250a153..72cc83ba85 100644 --- a/map/mwm_tests/mwm_foreach_test.cpp +++ b/map/mwm_tests/mwm_foreach_test.cpp @@ -1,7 +1,5 @@ #include "testing/testing.hpp" -#include "platform/platform.hpp" - #include "map/feature_vec_model.hpp" #include "indexer/data_header.hpp" @@ -10,6 +8,8 @@ #include "indexer/feature_processor.hpp" #include "indexer/classificator.hpp" +#include "platform/local_country_file_utils.hpp" + #include "geometry/rect_intersect.hpp" #include "geometry/robust_orientation.hpp" @@ -258,7 +258,7 @@ void RunTest(string const & countryFileName) vector<m2::RectD> rects; rects.push_back(src1.GetWorldRect()); - ModelReaderPtr reader = GetPlatform().GetCountryReader(localFile, TMapOptions::EMap); + ModelReaderPtr reader = platform::GetCountryReader(localFile, TMapOptions::EMap); while (!rects.empty()) { |