| 16 | } |
| 17 | |
| 18 | void ComplexAction::undo() { |
| 19 | for (auto it = actions.rbegin(); it != actions.rend(); it++) { |
| 20 | Action* action = *it; |
| 21 | action->undo(); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | void ComplexAction::redo() { |
| 26 | for (Action* action : actions) { |
no test coverage detected