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:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-05-06 23:01:31 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-05-12 10:38:38 +0300
commitb6a8335de707d00713687516b0630f24d2dfa3bb (patch)
treeadc8e8064dbf50c3f2485623eafe27692e88611e /indexer/osm_editor.cpp
parent246c73896af66e228cbd7687c06526dcfb01ad56 (diff)
Clear m_edits when reload.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r--indexer/osm_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp
index d09791658f..3a0b8879e1 100644
--- a/indexer/osm_editor.cpp
+++ b/indexer/osm_editor.cpp
@@ -174,6 +174,8 @@ void Editor::LoadMapEdits()
bool needRewriteEdits = false;
+ // TODO(mgsergio): synchronize access to m_features.
+ m_features.clear();
for (xml_node mwm : doc.child(kXmlRootNode).children(kXmlMwmNode))
{
string const mapName = mwm.attribute("name").as_string("");