Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I hate hollow doxygen comments
[simgrid.git] / src / surf / network_constant.cpp
index 1119882..609b2de 100644 (file)
@@ -32,7 +32,7 @@ void surf_network_model_init_Constant()
   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*/)
@@ -103,7 +103,7 @@ int NetworkConstantAction::unref()
 {
   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;