X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa4076fe495b91c58d1f6a3cdbbb3cb95b39a4bd..6c56800bdad43cabb6c870c9163bbeea694d6692:/src/surf/LinkImpl.hpp diff --git a/src/surf/LinkImpl.hpp b/src/surf/LinkImpl.hpp index bd67a523f6..e49c884d50 100644 --- a/src/surf/LinkImpl.hpp +++ b/src/surf/LinkImpl.hpp @@ -20,7 +20,7 @@ namespace resource { ************/ /** @ingroup SURF_network_interface * @brief SURF network link interface class - * @details A Link represents the link between two [hosts](@ref simgrid::surf::HostImpl) + * @details A Link represents the link between two [hosts](@ref simgrid::kernel::resource::HostImpl) */ class LinkImpl : public LinkImplIntf { s4u::Link piface_; @@ -52,7 +52,7 @@ public: /** @brief The sharing policy */ void set_sharing_policy(s4u::Link::SharingPolicy policy, const s4u::NonLinearResourceCb& cb) override; - s4u::Link::SharingPolicy get_sharing_policy() const override; + s4u::Link::SharingPolicy get_sharing_policy() const override { return sharing_policy_; } void turn_on() override; void turn_off() override;