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-04-29 18:06:03 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-05-12 10:19:15 +0300
commitf5b8d2e12efce80832ad058f564bc9204013e247 (patch)
treea7b2e69079fa657330e9d3d348becc96af3a5f5f /indexer/osm_editor.cpp
parent6e58ba0abc25d4737036c3efe8ac80ee74ea5c4b (diff)
Reload edits on map update.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r--indexer/osm_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp
index 141f455ef6..132eafbddb 100644
--- a/indexer/osm_editor.cpp
+++ b/indexer/osm_editor.cpp
@@ -138,6 +138,8 @@ namespace osm
Editor::Editor() : m_notes(editor::Notes::MakeNotes()) {}
+Editor * Editor::s_instance = nullptr;
+
Editor & Editor::Instance()
{
ASSERT(s_instance, ("nullptr dereference."));
@@ -974,6 +976,4 @@ string DebugPrint(Editor::FeatureStatus fs)
}
const char * const Editor::kPlaceDoesNotExistMessage = "The place has gone or never existed. This is an auto-generated note from MAPS.ME application: a user reports a POI that is visible on a map (which can be outdated), but cannot be found on the ground.";
-
-Editor * Editor::s_instance = nullptr;
} // namespace osm