diff options
author | Yuri Gorshenin <y@maps.me> | 2015-10-06 12:54:34 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2015-10-06 15:16:29 +0300 |
commit | c47b9d67901618708289e572aecf1867b0a95550 (patch) | |
tree | f7235dc74d3959b69154fb2b9a5f35bead4aa46d /map/address_finder.cpp | |
parent | ac73294cccf6cf4d64b5b13c01cb2644e9577700 (diff) |
[search] CountryInfoGetter is extracted into individual unit.
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r-- | map/address_finder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp index 3f482231a1..07c6950292 100644 --- a/map/address_finder.cpp +++ b/map/address_finder.cpp @@ -485,7 +485,7 @@ void Framework::GetAddressInfoForGlobalPoint(m2::PointD const & pt, search::Addr DoGetAddressInfo getAddress(pt, scale, GetChecker(), addressR); m_model.ForEachFeature(rect, getAddress, scale); - getAddress.FillAddress(GetSearchEngine(), info); + getAddress.FillAddress(m_searchEngine.get(), info); // @todo Temporarily commented - it's slow and not used in UI //GetLocality(pt, info); @@ -508,7 +508,7 @@ void Framework::GetAddressInfo(FeatureType const & ft, m2::PointD const & pt, se // FeatureType::WORST_GEOMETRY - no need to check on visibility DoGetAddressInfo getAddress(pt, FeatureType::WORST_GEOMETRY, GetChecker(), addressR); getAddress(ft); - getAddress.FillAddress(GetSearchEngine(), info); + getAddress.FillAddress(m_searchEngine.get(), info); /// @todo Temporarily commented - it's slow and not used in UI //GetLocality(pt, info); |