X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a79a8e1cab86ccc687cfbc97b01b735acb996f16..d27569cf3d838674e1325b58e2b9184b5b700bf5:/src/s4u/s4u_netzone.cpp diff --git a/src/s4u/s4u_netzone.cpp b/src/s4u/s4u_netzone.cpp index 67e20a2f5b..ed4aa1dd5d 100644 --- a/src/s4u/s4u_netzone.cpp +++ b/src/s4u/s4u_netzone.cpp @@ -11,7 +11,7 @@ #include "src/surf/network_interface.hpp" // Link FIXME: move to proper header #include "src/surf/surf_routing.hpp" -XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_as, "S4U autonomous systems"); +XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_netzone, "S4U Networking Zones"); namespace simgrid { namespace s4u { @@ -34,7 +34,7 @@ NetZone::~NetZone() char* key; NetZone_t elem; xbt_dict_foreach (children_, cursor, key, elem) { - delete (NetZone*)elem; + delete static_cast(elem); } xbt_dict_free(&children_);