From 9d5ad07dc06e017b7287ac7ff0a0cf603ed9094e Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Tue, 22 Mar 2016 18:46:25 +0300 Subject: [PATCH] [search] Paranoid revert of GetCenter. Does not change the behaviour but neither did the previous change. --- search/v2/geocoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/v2/geocoder.cpp b/search/v2/geocoder.cpp index 7151903bc9..edc5d10e0e 100644 --- a/search/v2/geocoder.cpp +++ b/search/v2/geocoder.cpp @@ -748,7 +748,7 @@ void Geocoder::FillLocalitiesTable() ++numCities; City city(l, SearchModel::SEARCH_TYPE_CITY); city.m_rect = MercatorBounds::RectByCenterXYAndSizeInMeters( - ft.GetCenter(), ftypes::GetRadiusByPopulation(ft.GetPopulation())); + feature::GetCenter(ft), ftypes::GetRadiusByPopulation(ft.GetPopulation())); #if defined(DEBUG) ft.GetName(StringUtf8Multilang::kDefaultCode, city.m_defaultName);