Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
prefer automatic mem handling (std::vector<>* becomes std::vector<>)
[simgrid.git] / src / surf / network_ib.cpp
index d672a8d..d243785 100644 (file)
@@ -88,7 +88,7 @@ void surf_network_model_init_IB()
   xbt_assert(surf_network_model == nullptr, "Cannot set the network model twice");
 
   surf_network_model = new simgrid::kernel::resource::NetworkIBModel();
-  all_existing_models->push_back(surf_network_model);
+  all_existing_models.push_back(surf_network_model);
   simgrid::s4u::Link::on_communication_state_change.connect(IB_action_state_changed_callback);
   simgrid::s4u::Link::on_communicate.connect(IB_action_init_callback);
   simgrid::s4u::Host::on_creation.connect(IB_create_host_callback);