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

Method ApplyEditsFromJournal

libs/indexer/editable_map_object.cpp:751–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751void EditableMapObject::ApplyEditsFromJournal(EditJournal const & editJournal)
752{
753 LOG(LDEBUG, ("Applying JournalHistory entries..."));
754 for (JournalEntry const & entry : editJournal.GetJournalHistory())
755 ApplyJournalEntry(entry);
756
757 LOG(LDEBUG, ("Applying Journal entries..."));
758 for (JournalEntry const & entry : editJournal.GetJournal())
759 ApplyJournalEntry(entry);
760}
761
762void EditableMapObject::ApplyJournalEntry(JournalEntry const & entry)
763{

Callers 2

FillFeatureInfoMethod · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.64