X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d21a8b2a1334c14a19047687aee898731fc1878..90a471de6cd70b41223dd16a09fafe6ac3e18269:/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);