X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..0c07b616d38841a028f8a34fe66394e232008b5e:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 1d84616753..78a4a28549 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -21,7 +21,7 @@ static void IB_create_host_callback(simgrid::s4u::Host& host){ static int id=0; // pour t->id -> rajouter une nouvelle struct dans le dict, pour stocker les comms actives if(((NetworkIBModel*)surf_network_model)->active_nodes==nullptr) - ((NetworkIBModel*)surf_network_model)->active_nodes=xbt_dict_new(); + ((NetworkIBModel*)surf_network_model)->active_nodes = xbt_dict_new_homogeneous(nullptr); IBNode* act = new IBNode(id); @@ -97,8 +97,6 @@ void surf_network_model_init_IB() } -#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area - namespace simgrid { namespace surf {