MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / SwitchPartUndoStep

Method SwitchPartUndoStep

src/undo/object_undo.cpp:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423// ### SwitchPartUndoStep ###
424
425SwitchPartUndoStep::SwitchPartUndoStep(Map *map, int source, int target_index)
426: ObjectModifyingUndoStep(SwitchPartUndoStepType, map, target_index)
427, source_index(source)
428{
429 // nothing else
430}
431
432SwitchPartUndoStep::SwitchPartUndoStep(Map *map)
433: ObjectModifyingUndoStep(SwitchPartUndoStepType, map)

Callers

nothing calls this directly

Calls 1

getCurrentPartIndexMethod · 0.80

Tested by

no test coverage detected