#include "cuki.h" #include "UndoStack.h" void UndoStack::push(OwnPtr&& op) { m_stack.push(std::move(op)); } OwnPtr UndoStack::pop() { OwnPtr op = std::move(m_stack.top()); m_stack.pop(); return op; }