forked from organicmaps/organicmaps
Merge pull request #3283 from mapsme/revert-3281-limit-geocoder
Revert "[search] Limit geocoder by max num of results."
This commit is contained in:
commit
9653664e91
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ void Geocoder::FillVillageLocalities()
|
|||
template <typename TFn>
|
||||
void Geocoder::ForEachCountry(vector<shared_ptr<MwmInfo>> const & infos, TFn && fn)
|
||||
{
|
||||
for (size_t i = 0; i < infos.size() && m_results->size() < m_params.m_maxNumResults; ++i)
|
||||
for (size_t i = 0; i < infos.size(); ++i)
|
||||
{
|
||||
auto const & info = infos[i];
|
||||
if (info->GetType() != MwmInfo::COUNTRY && info->GetType() != MwmInfo::WORLD)
|
||||
|
|
Loading…
Add table
Reference in a new issue