Changeset 90c4460 for molecuilder/src/Actions
- Timestamp:
- Apr 28, 2010, 1:31:57 PM (16 years ago)
- Children:
- 0d111b, 93b12d
- Parents:
- 075729
- Location:
- molecuilder/src/Actions
- Files:
-
- 2 edited
-
Action.cpp (modified) (1 diff)
-
ActionHistory.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/Action.cpp
r075729 r90c4460 11 11 #include "Actions/ActionRegistry.hpp" 12 12 #include "Actions/ActionHistory.hpp" 13 #include "Helpers/MemDebug.hpp" 13 14 14 15 using namespace std; 15 16 16 17 // An empty state to indicate success 17 Action::state_ptr Action::success = Action::state_ptr( new ActionState());18 Action::state_ptr Action::failure = Action::state_ptr( new ActionState());18 Action::state_ptr Action::success = Action::state_ptr(Memory::ignore(new ActionState())); 19 Action::state_ptr Action::failure = Action::state_ptr(Memory::ignore(new ActionState())); 19 20 20 21 Action::Action(std::string _name,bool _doRegister) : -
molecuilder/src/Actions/ActionHistory.cpp
r075729 r90c4460 12 12 #include "Patterns/Singleton_impl.hpp" 13 13 #include "Helpers/Assert.hpp" 14 #include "Helpers/MemDebug.hpp" 14 15 15 16 using namespace std;
Note:
See TracChangeset
for help on using the changeset viewer.
