From 0b740ec4e6340dd519260acbb0d821ecfcb19891 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Thu, 12 Oct 2017 14:14:11 +0300 Subject: [PATCH] Fixed warning in index. --- indexer/index.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 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 {};