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

Method MarkAsCreated

libs/indexer/edit_journal.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void EditJournal::MarkAsCreated(uint32_t type, feature::GeomType geomType, m2::PointD mercator)
39{
40 ASSERT(m_journal.empty(), ("Only empty journals can be marked as created"));
41 LOG(LDEBUG, ("Object of type ", classif().GetReadableObjectName(type), " created"));
42 AddJournalEntry({JournalEntryType::ObjectCreated, time(nullptr), osm::ObjCreateData{type, geomType, mercator}});
43}
44
45void EditJournal::AddBusinessReplacement(uint32_t old_type, uint32_t new_type)
46{

Callers 1

CreatePointMethod · 0.45

Calls 3

ASSERTFunction · 0.85
GetReadableObjectNameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected