diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2017-10-12 14:14:11 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-10-12 14:22:33 +0300 |
commit | 0b740ec4e6340dd519260acbb0d821ecfcb19891 (patch) | |
tree | d683909631c31d12f631a2ecc7efe7ed6ad6803b /indexer | |
parent | a1608d38ed4ed7659a4f2f3a0f5d47dcdbc89619 (diff) |
Fixed warning in index.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/index.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp index ac11d43c0d..d941dc06f2 100644 --- a/indexer/index.cpp +++ b/indexer/index.cpp @@ -128,8 +128,7 @@ unique_ptr<FeatureType> Index::FeaturesLoaderGuard::GetOriginalOrEditedFeatureBy if (!m_handle.IsAlive()) return {}; - MwmId const & id = m_handle.GetId(); - ASSERT_NOT_EQUAL(m_editor.GetFeatureStatus(id, index), osm::Editor::FeatureStatus::Created, ()); + ASSERT_NOT_EQUAL(m_editor.GetFeatureStatus(m_handle.GetId(), index), osm::Editor::FeatureStatus::Created, ()); if (!GetFeatureByIndex(index, *feature)) return {}; |