diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-05-26 18:06:31 +0300 |
---|---|---|
committer | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-06-02 11:51:57 +0300 |
commit | 27444c4d8cf1b59a879f928ebe5d92179ef8e7e9 (patch) | |
tree | 8a004327f74242be9be237387e94263c737a260a /indexer/index.hpp | |
parent | c5b15e1af26d0d5b989fa47ffea32ced368787ac (diff) |
Make features as deleted when place doesn't exist is sent.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r-- | indexer/index.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index 7e4fa77153..eb850cafd1 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -116,7 +116,9 @@ private: FeatureType feature; switch (m_editor.GetFeatureStatus(mwmID, index)) { - case osm::Editor::FeatureStatus::Deleted: return; + case osm::Editor::FeatureStatus::Deleted: + case osm::Editor::FeatureStatus::Obsolete: + return; case osm::Editor::FeatureStatus::Modified: VERIFY(m_editor.GetEditedFeature(mwmID, index, feature), ()); m_f(feature); |