| 426 | } |
| 427 | |
| 428 | static unique_ptr<FeatureType> LoadFeatureImpl(FeatureID const & id, FeaturesLoaderGuard & loader) |
| 429 | { |
| 430 | auto ft = loader.GetFeatureByIndex(id.m_index); |
| 431 | if (ft) |
| 432 | { |
| 433 | ASSERT(id.IsValid(), ()); |
| 434 | ft->SetID(id); |
| 435 | } |
| 436 | return ft; |
| 437 | } |
| 438 | |
| 439 | bool GetExactAddress(FeatureType & ft, m2::PointD const & center, ReverseGeocoder::Address & addr) const |
| 440 | { |
nothing calls this directly
no test coverage detected