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:
authorSergey Yershov <yershov@corp.mail.ru>2015-07-16 13:44:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:56:22 +0300
commitc82b3e927f383a5a77863bd58b74ac1bbdc3675d (patch)
tree4f82982b333328f9648b9fb0b666ddbd8b234807 /generator/generator_tests
parent04d6c457c8091cffe2cc737b874f47c095bdc274 (diff)
Refactor based on review comments
Diffstat (limited to 'generator/generator_tests')
-rw-r--r--generator/generator_tests/coasts_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/generator_tests/coasts_test.cpp b/generator/generator_tests/coasts_test.cpp
index a727efe2f6..8e4e65bea9 100644
--- a/generator/generator_tests/coasts_test.cpp
+++ b/generator/generator_tests/coasts_test.cpp
@@ -128,7 +128,7 @@ namespace
TEST(fb2.IsDrawableInRange(0, upperScale), ());
m2::RectD const rect = fb2.GetLimitRect();
- LOG(LINFO, ("ID = ", fb1.GetName(), "Rect = ", rect, "Polygons = ", fb2.GetPolygons()));
+ LOG(LINFO, ("ID = ", fb1.GetName(), "Rect = ", rect, "Polygons = ", fb2.GetGeometry()));
// Make bound rect inflated a little.
feature::BoundsDistance dist(rect);
@@ -137,7 +137,7 @@ namespace
typedef vector<m2::PointD> PointsT;
typedef list<PointsT> PolygonsT;
- PolygonsT const & poly = fb2.GetPolygons();
+ PolygonsT const & poly = fb2.GetGeometry();
// Check that all simplifications are inside bound rect.
for (int level = 0; level <= upperScale; ++level)