| 125 | } |
| 126 | |
| 127 | std::unique_ptr<FeatureType> GetFeature(FeatureID const & id) |
| 128 | { |
| 129 | bool found = false; |
| 130 | auto & ptr = m_featureSources.Find(id.m_mwmId, found); |
| 131 | if (!found) |
| 132 | ptr = m_dataSource.CreateFeatureSource(GetHandle(id.m_mwmId)); |
| 133 | |
| 134 | /// @todo Should we also retrieve "modified" features here? |
| 135 | return ptr->GetOriginalFeature(id.m_index); |
| 136 | } |
| 137 | }; |
| 138 | } // namespace routing |
nothing calls this directly
no test coverage detected