mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-26 15:53:36 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a60efa9b43
commit
969e1ef2da
@@ -97,10 +97,11 @@ vector<ObjT> GetNearbyObjects(search::MwmContext & context, m2::PointD const & c
|
||||
}
|
||||
|
||||
vector<ReverseGeocoder::Street> ReverseGeocoder::GetNearbyStreets(search::MwmContext & context,
|
||||
m2::PointD const & center, double radiusM, bool ignoreEditedStatus)
|
||||
m2::PointD const & center, double radiusM,
|
||||
bool ignoreEditedStatus)
|
||||
{
|
||||
return GetNearbyObjects<Street>(context, center, radiusM,
|
||||
[](FeatureType & ft) { return StreetVicinityLoader::IsStreet(ft); }, ignoreEditedStatus);
|
||||
return GetNearbyObjects<Street>(context, center, radiusM, [](FeatureType & ft)
|
||||
{ return StreetVicinityLoader::IsStreet(ft); }, ignoreEditedStatus);
|
||||
}
|
||||
|
||||
vector<ReverseGeocoder::Street> ReverseGeocoder::GetNearbyStreets(MwmSet::MwmId const & id,
|
||||
@@ -122,7 +123,8 @@ vector<ReverseGeocoder::Street> ReverseGeocoder::GetNearbyStreets(FeatureType &
|
||||
}
|
||||
|
||||
std::vector<ReverseGeocoder::Place> ReverseGeocoder::GetNearbyPlaces(search::MwmContext & context,
|
||||
m2::PointD const & center, double radiusM, bool ignoreEditedStatus)
|
||||
m2::PointD const & center, double radiusM,
|
||||
bool ignoreEditedStatus)
|
||||
{
|
||||
return GetNearbyObjects<Place>(context, center, radiusM, [](FeatureType & ft)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user