Changes in src/Actions/ActionSequence.cpp [af5384:c17aa8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ActionSequence.cpp
raf5384 rc17aa8 37 37 #include "Actions/ActionSequence.hpp" 38 38 #include "Actions/Action.hpp" 39 #include "Actions/ActionExceptions.hpp" 39 40 #include "UIElements/Dialog.hpp" 40 41 … … 53 54 { 54 55 // we need to override copy cstor as we have pointer referenced objects 55 for(actionSet:: iterator it=actions.begin(); it!=actions.end(); it++){56 for(actionSet::const_iterator it=_other.actions.begin(); it!=_other.actions.end(); it++){ 56 57 actions.push_back((*it)->clone()); 57 58 } … … 119 120 // we bypass the normal call 120 121 ActionState::ptr state = (*it)->performCall(); 122 if (state == Action::failure) 123 throw ActionFailureException() << ActionNameString((*it)->getName()); 121 124 states.push_back(state); 122 125 }
Note:
See TracChangeset
for help on using the changeset viewer.