forked from organicmaps/organicmaps
[search] Add const.
This commit is contained in:
parent
4d295ad94b
commit
bde7e3b234
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ void Geocoder::GoImpl(vector<shared_ptr<MwmInfo>> const & infos, bool inViewport
|
|||
|
||||
ctx.m_villages = m_localitiesCaches.m_villages.Get(*m_context);
|
||||
|
||||
auto citiesFromWorld = m_cities;
|
||||
auto const citiesFromWorld = m_cities;
|
||||
FillVillageLocalities(ctx);
|
||||
SCOPE_GUARD(remove_villages, [&]() { m_cities = citiesFromWorld; });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue