Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
prefer automatic mem handling (std::vector<>* becomes std::vector<>)
[simgrid.git] / src / surf / ptask_L07.cpp
index f0deae5..ebad9d3 100644 (file)
@@ -22,7 +22,7 @@ void surf_host_model_init_ptask_L07()
   xbt_assert(not surf_network_model, "Cannot switch to ptasks: network model already defined");
 
   surf_host_model = new simgrid::surf::HostL07Model();
-  all_existing_models->push_back(surf_host_model);
+  all_existing_models.push_back(surf_host_model);
 }