X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ff3f785b25ae7261dfedbe23734c3f647ed84c83..6c56800bdad43cabb6c870c9163bbeea694d6692:/src/surf/network_constant.hpp diff --git a/src/surf/network_constant.hpp b/src/surf/network_constant.hpp index fefadd8e19..d0f733eda3 100644 --- a/src/surf/network_constant.hpp +++ b/src/surf/network_constant.hpp @@ -19,11 +19,11 @@ public: double next_occurring_event(double now) override; void update_actions_state(double now, double delta) override; - LinkImpl* create_link(const std::string& name, const std::vector& bws, - s4u::Link::SharingPolicy policy) override; + LinkImpl* create_link(const std::string& name, const std::vector& bws) override; + LinkImpl* create_wifi_link(const std::string& name, const std::vector& bws) override; }; -class NetworkConstantAction : public NetworkAction { +class NetworkConstantAction final : public NetworkAction { public: NetworkConstantAction(NetworkConstantModel* model_, s4u::Host& src, s4u::Host& dst, double size); void update_remains_lazy(double now) override;