X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..b9d349f4e630752232d93f23b5cb3c33e02e0d05:/src/surf/network_wifi.hpp diff --git a/src/surf/network_wifi.hpp b/src/surf/network_wifi.hpp index 51f566b486..15cb856621 100644 --- a/src/surf/network_wifi.hpp +++ b/src/surf/network_wifi.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2019-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -42,8 +42,7 @@ class NetworkWifiLink : public LinkImpl { std::vector decay_bandwidths_; public: - NetworkWifiLink(NetworkCm02Model* model, const std::string& name, std::vector bandwidths, - lmm::System* system); + NetworkWifiLink(const std::string& name, std::vector bandwidths, lmm::System* system); void set_host_rate(const s4u::Host* host, int rate_level); /** @brief Get the AP rate associated to the host (or -1 if not associated to the AP) */ @@ -52,7 +51,7 @@ public: s4u::Link::SharingPolicy get_sharing_policy() const override; void apply_event(kernel::profile::Event*, double) override { THROW_UNIMPLEMENTED; } void set_bandwidth(double) override { THROW_UNIMPLEMENTED; } - void set_latency(double) override { THROW_UNIMPLEMENTED; } + LinkImpl* set_latency(double) override { THROW_UNIMPLEMENTED; } void refresh_decay_bandwidths(); bool toggle_decay_model(); int get_host_count() const;