diff --git a/iphone/Maps/Classes/MapDownloader/DataSources/MWMMapDownloaderSearchDataSource.mm b/iphone/Maps/Classes/MapDownloader/DataSources/MWMMapDownloaderSearchDataSource.mm index f6432f2ec9..174ba88b3d 100644 --- a/iphone/Maps/Classes/MapDownloader/DataSources/MWMMapDownloaderSearchDataSource.mm +++ b/iphone/Maps/Classes/MapDownloader/DataSources/MWMMapDownloaderSearchDataSource.mm @@ -22,9 +22,9 @@ extern NSString * const kPlaceCellIdentifier; self = [super initWithDelegate:delegate]; if (self) { - NSMutableOrderedSet * nsSearchCountryIds = [NSMutableOrderedSet orderedSetWithCapacity:results.m_vec.size()]; + NSMutableOrderedSet * nsSearchCountryIds = [NSMutableOrderedSet orderedSetWithCapacity:results.m_results.size()]; NSMutableDictionary * nsSearchResults = [@{} mutableCopy]; - for (auto const & result : results.m_vec) + for (auto const & result : results.m_results) { NSString * nsCountryId = @(result.m_countryId.c_str()); [nsSearchCountryIds addObject:nsCountryId];