}
/* add in action heap */
if (min_finish > NO_MAX_DURATION)
- action.heapUpdate(model()->getActionHeap(), min_finish, NOTSET);
+ action.heapUpdate(model()->getActionHeap(), min_finish, Action::Type::NOTSET);
else
action.heapRemove(model()->getActionHeap());
{
refcount_--;
if (not refcount_) {
- if (action_hook.is_linked())
+ if (stateSetHook_.is_linked())
simgrid::xbt::intrusive_erase(*getStateSet(), *this);
/* remove from action_set */
if (action_ti_hook.is_linked())
min_finish = getFinishTime();
/* add in action heap */
- heapUpdate(getModel()->getActionHeap(), min_finish, NOTSET);
+ heapUpdate(getModel()->getActionHeap(), min_finish, Action::Type::NOTSET);
XBT_OUT();
}