| 419 | bool IsSameLoader(FeatureID const & id) const { return (m_loader && m_loader->GetId() == id.m_mwmId); } |
| 420 | |
| 421 | unique_ptr<FeatureType> LoadFeature(FeatureID const & id) |
| 422 | { |
| 423 | if (!IsSameLoader(id)) |
| 424 | m_loader = make_unique<FeaturesLoaderGuard>(m_dataSource, id.m_mwmId); |
| 425 | return LoadFeatureImpl(id, *m_loader); |
| 426 | } |
| 427 | |
| 428 | static unique_ptr<FeatureType> LoadFeatureImpl(FeatureID const & id, FeaturesLoaderGuard & loader) |
| 429 | { |
nothing calls this directly
no test coverage detected