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