Skip to content
Snippets Groups Projects
Commit fd799ec1 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

do not delete problem pointer

parent 3f6ff34f
No related branches found
No related tags found
1 merge request!211State blocks
......@@ -395,9 +395,6 @@ void Problem::removeStateBlockPtr(StateBlockPtr _state_ptr)
// Add remove notification
_state_ptr->addNotification(StateBlock::Notification::REMOVE);
notifyStateBlock(_state_ptr, StateBlock::Notification::REMOVE);
// reset problem ptr
_state_ptr->setProblem(nullptr);
}
void Problem::notifyStateBlock(StateBlockPtr _state_ptr, const StateBlock::Notification _type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment