// Only delete this action if not being using by ModelHistory.
// Otherwise, the deletion of action is deferred.
- if (act->getFuncActRef() == NULL) {
+ if (act->get_func_ref_count() == 0) {
delete act;
continue;
}
if (islastact) {
fixupLastAct(act);
}
- if (act->getFuncActRef() == NULL) {
+ if (act->get_func_ref_count() == 0) {
delete act;
continue;
}
if (islastact) {
fixupLastAct(act);
}
- if (act->getFuncActRef() == NULL) {
+ if (act->get_func_ref_count() == 0) {
delete act;
continue;
}