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

Method AddBusinessReplacement

libs/indexer/edit_journal.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void EditJournal::AddBusinessReplacement(uint32_t old_type, uint32_t new_type)
46{
47 LOG(LDEBUG, ("Business of type ", classif().GetReadableObjectName(old_type), " was replaced by a ",
48 classif().GetReadableObjectName(new_type)));
49 AddJournalEntry(
50 {JournalEntryType::BusinessReplacement, time(nullptr), osm::BusinessReplacementData{old_type, new_type}});
51}
52
53void EditJournal::AddJournalEntry(JournalEntry entry)
54{

Callers 1

MarkAsDisusedMethod · 0.80

Calls 1

GetReadableObjectNameMethod · 0.80

Tested by

no test coverage detected