diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-29 18:06:03 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-05-12 10:19:15 +0300 |
commit | f5b8d2e12efce80832ad058f564bc9204013e247 (patch) | |
tree | a7b2e69079fa657330e9d3d348becc96af3a5f5f /indexer/osm_editor.cpp | |
parent | 6e58ba0abc25d4737036c3efe8ac80ee74ea5c4b (diff) |
Reload edits on map update.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r-- | indexer/osm_editor.cpp | 4 |
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 |