X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9c92907fc7a130fd6abc60b98791daa320742ba2..a9361ff5f9057e93ed0bbdfac0eab6e5ba8aeab8:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 2dd9bc4165..2c170bbd9d 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -88,7 +88,7 @@ void surf_network_model_init_IB() return; surf_network_model = new simgrid::surf::NetworkIBModel(); - xbt_dynar_push(all_existing_models, &surf_network_model); + all_existing_models->push_back(surf_network_model); networkActionStateChangedCallbacks.connect(IB_action_state_changed_callback); Link::onCommunicate.connect(IB_action_init_callback); simgrid::s4u::Host::onCreation.connect(IB_create_host_callback);