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

Method OnDeleteLine

libs/map/bookmark_manager.cpp:3473–3480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3471}
3472
3473void BookmarkManager::MarksChangesTracker::OnDeleteLine(kml::TrackId lineId)
3474{
3475 auto const it = m_createdLines.find(lineId);
3476 if (it != m_createdLines.end())
3477 m_createdLines.erase(it);
3478 else
3479 m_removedLines.insert(lineId);
3480}
3481
3482void BookmarkManager::MarksChangesTracker::OnAddGroup(kml::MarkGroupId groupId)
3483{

Callers 2

DeleteTrackMethod · 0.80
ClearGroupMethod · 0.80

Calls 4

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected