Changes in src/Actions/ErrorAction.cpp [5b0b98:cc04b7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ErrorAction.cpp
r5b0b98 rcc04b7 11 11 #include "log.hpp" 12 12 #include "verbose.hpp" 13 #include "Helpers/Assert.hpp"14 13 15 14 using namespace std; … … 25 24 } 26 25 27 Action::state_ptr ErrorAction::performCall() {26 void ErrorAction::call() { 28 27 Log() << Verbose(0) << errorMsg << endl; 29 return Action::success;30 28 } 31 Action::state_ptr ErrorAction::performUndo(Action::state_ptr) { 32 ASSERT(0,"Undo called for an ErrorAction"); 33 return Action::success; 34 } 35 36 Action::state_ptr ErrorAction::performRedo(Action::state_ptr) { 37 ASSERT(0,"Redo called for an ErrorAction"); 38 return Action::success; 29 void ErrorAction::undo() { 39 30 } 40 31 … … 42 33 return false; 43 34 } 44 45 bool ErrorAction::shouldUndo(){46 return false;47 }
Note:
See TracChangeset
for help on using the changeset viewer.