Changeset 1561e2 for molecuilder/src/Actions/small_actions.cpp
- Timestamp:
- Apr 26, 2010, 1:49:59 PM (15 years ago)
- Children:
- 075729
- Parents:
- 0707dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/small_actions.cpp
r0707dd r1561e2 55 55 56 56 Action::state_ptr ChangeMoleculeNameAction::performUndo(Action::state_ptr _state) { 57 ChangeMoleculeNameState *state = dynamic_cast<ChangeMoleculeNameState*>(_state.get()); 58 ASSERT(state,"State passed to ChangeMoleculeNameAction::performUndo did not have correct type"); 57 ChangeMoleculeNameState *state = assert_cast<ChangeMoleculeNameState*>(_state.get()); 59 58 60 59 string newName = state->mol->getName();
Note:
See TracChangeset
for help on using the changeset viewer.