From: SUTER Frederic Date: Tue, 6 Apr 2021 11:56:22 +0000 (+0200) Subject: cosmetics X-Git-Tag: v3.28~455^2~146 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b291a429a3c31317cb0b2144cbf626f27f870ad8 cosmetics --- diff --git a/src/surf/network_interface.cpp b/src/surf/network_interface.cpp index 4ffd1df006..6b13a681ab 100644 --- a/src/surf/network_interface.cpp +++ b/src/surf/network_interface.cpp @@ -159,7 +159,7 @@ void LinkImpl::seal() { xbt_assert(this->get_model(), "Cannot seal Link(%s) without setting the Network model first", this->get_cname()); Resource::seal(); - simgrid::s4u::Link::on_creation(*get_iface()); + s4u::Link::on_creation(*get_iface()); } void LinkImpl::on_bandwidth_change() const diff --git a/src/surf/network_interface.hpp b/src/surf/network_interface.hpp index e03a73df31..256ff5d0fd 100644 --- a/src/surf/network_interface.hpp +++ b/src/surf/network_interface.hpp @@ -41,11 +41,10 @@ public: ~NetworkModel() override; /** - * @brief Create a Link + * @brief Create a [WiFi]Link * * @param name The name of the Link - * @param bandwidth The initial bandwidth of the Link in bytes per second - * @param policy The sharing policy of the Link + * @param bandwidths The vector of bandwidths of the Link in bytes per second */ virtual LinkImpl* create_link(const std::string& name, const std::vector& bandwidths) = 0;