X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3cb644bc04ff9dd4da159790850b6bcfda970cf9..1363ce9624f4327f3ad5c934b15736a776637dfd:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index 3e0832bba5..c79ca462ac 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -133,10 +133,7 @@ public: double get_load() const; #ifndef DOXYGEN - XBT_ATTRIB_DEPRECATED_v337("Please use get_load() instead") double get_usage() const - { - return get_load(); - } + XBT_ATTRIB_DEPRECATED_v338("Please use get_load() instead") double get_usage() const { return get_load(); } #endif /** @brief Check if the Link is used (at least one flow uses the link) */ @@ -202,7 +199,7 @@ public: on_this_destruction.connect(cb); } - XBT_ATTRIB_DEPRECATED_v337("Please use on_onoff_cb() instead") static void on_state_change_cb( + XBT_ATTRIB_DEPRECATED_v338("Please use on_onoff_cb() instead") static void on_state_change_cb( const std::function& cb) { on_onoff.connect(cb);