Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-osm committed Mar 18, 2024
1 parent 272cb5d commit 38af0fc
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,10 @@ + (OATransportStop *) findNearestTransportStopForAmenity:(OAPOI *)amenity
[self, transportStops]
(const OsmAnd::ISearch::Criteria& criteria, const OsmAnd::ISearch::IResultEntry& resultEntry)
{
const auto transportStop = ((OsmAnd::TransportStopsInAreaSearch::ResultEntry&)resultEntry).transportStop;
OATransportStop *stop = [[OATransportStop alloc] init];
stop.stop = transportStop;
[transportStops addObject:stop];
});
const auto transportStop = ((OsmAnd::TransportStopsInAreaSearch::ResultEntry&)resultEntry).transportStop;
OATransportStop *stop = [[OATransportStop alloc] initWithStop:transportStop];
[transportStops addObject:stop];
});

return transportStops;
}
Expand Down

0 comments on commit 38af0fc

Please sign in to comment.