Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2017-10-12 14:14:11 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2017-10-12 14:22:33 +0300
commit0b740ec4e6340dd519260acbb0d821ecfcb19891 (patch)
treed683909631c31d12f631a2ecc7efe7ed6ad6803b /indexer/index.cpp
parenta1608d38ed4ed7659a4f2f3a0f5d47dcdbc89619 (diff)
Fixed warning in index.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp3
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 {};