MCPcopy Create free account
hub / github.com/comaps/comaps / ClearAllLocalEdits

Method ClearAllLocalEdits

libs/editor/osm_editor.cpp:264–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void Editor::ClearAllLocalEdits()
265{
266 CHECK_THREAD_CHECKER(MainThreadChecker, (""));
267
268 SaveTransaction(make_shared<FeaturesContainer>());
269 Invalidate();
270}
271
272void Editor::OnMapRegistered(platform::LocalCountryFile const &)
273{

Calls

no outgoing calls

Tested by 3

SaveTransactionTestMethod · 0.64