X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/697e7bf5e65bce115783c6debcded0cf6f14744d..d36a7f5ed4de38cc17e95c45170098d2cd6c10f3:/src/kernel/routing/WifiZone.cpp diff --git a/src/kernel/routing/WifiZone.cpp b/src/kernel/routing/WifiZone.cpp index 52965610d3..a6f8bc7185 100644 --- a/src/kernel/routing/WifiZone.cpp +++ b/src/kernel/routing/WifiZone.cpp @@ -16,12 +16,8 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_wifi, surf, "Routing part of surf"); namespace simgrid { namespace kernel { namespace routing { -WifiZone::WifiZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel) - : RoutedZone(father, name, netmodel) -{ -} -void WifiZone::seal() +void WifiZone::do_seal() { const char* AP_name = get_property("access_point"); if (AP_name != nullptr) { @@ -55,7 +51,8 @@ void WifiZone::get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* } } } -s4u::Link* WifiZone::create_link(const std::string& name, const std::vector& bandwidths, double latency, + +s4u::Link* WifiZone::create_link(const std::string& name, const std::vector& bandwidths, s4u::Link::SharingPolicy policy) { xbt_assert(wifi_link_ == nullptr, @@ -63,7 +60,7 @@ s4u::Link* WifiZone::create_link(const std::string& name, const std::vectorget_impl(); return s4u_link; }