X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8fc47788f4a49a8c31c7a4d2aa7f09d06572b915..75d183ff7b05ac2788d6ed217054552c0cc20330:/src/kernel/routing/StarZone.cpp diff --git a/src/kernel/routing/StarZone.cpp b/src/kernel/routing/StarZone.cpp index 3d27937642..724c711e10 100644 --- a/src/kernel/routing/StarZone.cpp +++ b/src/kernel/routing/StarZone.cpp @@ -7,9 +7,6 @@ #include "simgrid/kernel/routing/NetPoint.hpp" #include "simgrid/kernel/routing/RoutedZone.hpp" #include "src/surf/network_interface.hpp" -#if SIMGRID_HAVE_NS3 -#include "src/surf/network_ns3.hpp" -#endif #include "xbt/string.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_star, surf, "Routing part of surf"); @@ -162,10 +159,6 @@ void StarZone::add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoin void StarZone::do_seal() { -#if SIMGRID_HAVE_NS3 - xbt_assert(not dynamic_cast(get_network_model().get()), - "StarZone are not supported by NS-3 right now"); -#endif /* add default empty links if nothing was configured by user */ for (auto const& node : get_vertices()) { auto route = routes_.emplace(node->id(), StarRoute());