X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d486d1d3b2c9c2c5d286e1d49c27453a382ce9e..5edbea104d3c5d61dc5a6dce20706a6fe5c89b2a:/src/s4u/s4u_Netzone.cpp diff --git a/src/s4u/s4u_Netzone.cpp b/src/s4u/s4u_Netzone.cpp index dec17ec8aa..f5ee74e8bd 100644 --- a/src/s4u/s4u_Netzone.cpp +++ b/src/s4u/s4u_Netzone.cpp @@ -115,7 +115,7 @@ sg_netzone_t sg_zone_get_by_name(const char* name) void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto) { for (auto const& elem : netzone->get_children()) { - xbt_dict_set(whereto, elem->get_cname(), static_cast(elem), nullptr); + xbt_dict_set(whereto, elem->get_cname(), static_cast(elem)); } }