X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e6bd3964814621aa2b678a648a0e014455728fae..19fa004eaf08b3c218df52e81c72cc1f766730ad:/src/surf/network_interface.hpp diff --git a/src/surf/network_interface.hpp b/src/surf/network_interface.hpp index 89b1e5371f..5ff4cf26c5 100644 --- a/src/surf/network_interface.hpp +++ b/src/surf/network_interface.hpp @@ -35,7 +35,7 @@ public: static config::Flag cfg_tcp_gamma; static config::Flag cfg_crosstraffic; - explicit NetworkModel(Model::UpdateAlgo algo) : Model(algo) {} + using Model::Model; NetworkModel(const NetworkModel&) = delete; NetworkModel& operator=(const NetworkModel&) = delete; ~NetworkModel() override; @@ -125,13 +125,13 @@ public: s4u::Link* get_iface() { return &piface_; } /** @brief Get the bandwidth in bytes per second of current Link */ - virtual double get_bandwidth() const; + double get_bandwidth() const; /** @brief Update the bandwidth in bytes per second of current Link */ virtual void set_bandwidth(double value) = 0; /** @brief Get the latency in seconds of current Link */ - virtual double get_latency() const; + double get_latency() const; /** @brief Update the latency in seconds of current Link */ virtual void set_latency(double value) = 0;