MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Clear

Method Clear

WinArk/CommandManager.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void CommandManager::Clear() {
61 _undoList.clear();
62 _redoList.clear();
63}
64
65AppCommand* CommandManager::GetUndoCommand() const {
66 return _undoList.empty() ? nullptr : _undoList.back().get();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected