Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ErrorAction.cpp

    r5b0b98 rcc04b7  
    1111#include "log.hpp"
    1212#include "verbose.hpp"
    13 #include "Helpers/Assert.hpp"
    1413
    1514using namespace std;
     
    2524}
    2625
    27 Action::state_ptr ErrorAction::performCall() {
     26void ErrorAction::call() {
    2827  Log() << Verbose(0) << errorMsg << endl;
    29   return Action::success;
    3028}
    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;
     29void ErrorAction::undo() {
    3930}
    4031
     
    4233  return false;
    4334}
    44 
    45 bool ErrorAction::shouldUndo(){
    46   return false;
    47 }
Note: See TracChangeset for help on using the changeset viewer.