sg_platf_link_add_cb(netcste_parse_nolink);
Model *model = surf_network_model;
- xbt_dynar_push(model_list, &model);
+ xbt_dynar_push(all_existing_models, &model);
}
double NetworkConstantModel::shareResources(double /*now*/)
{
m_refcount--;
if (!m_refcount) {
- if (actionHook::is_linked())
+ if (action_hook.is_linked())
p_stateSet->erase(p_stateSet->iterator_to(*this));
delete this;
return 1;