diff options
author | Alex Zolotarev <alex@maps.me> | 2016-03-05 22:14:50 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:52:43 +0300 |
commit | 7847d189c7c95911e8fd1bf5bf3bee3c36f08f89 (patch) | |
tree | 57621d3e646ec21ed257bd80d26cf04cb8ae730d /indexer/index.hpp | |
parent | 36b83eb5c91e5336383c52ffa3788e6d2931c9db (diff) |
[editor] Correctly process created features in the Index.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r-- | indexer/index.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index 526618fb9b..7e4fa77153 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -229,9 +229,9 @@ public: { osm::Editor::FeatureStatus const fts = editor.GetFeatureStatus(id, fidIter->m_index); ASSERT_NOT_EQUAL(osm::Editor::FeatureStatus::Deleted, fts, - ("Deleted feature was cached. Please review your code.")); + ("Deleted feature was cached. It should not be here. Please review your code.")); FeatureType featureType; - if (fts == osm::Editor::FeatureStatus::Modified) + if (fts == osm::Editor::FeatureStatus::Modified || fts == osm::Editor::FeatureStatus::Created) { VERIFY(editor.GetEditedFeature(id, fidIter->m_index, featureType), ()); } |