A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Link.hpp
diff --git
a/include/simgrid/s4u/Link.hpp
b/include/simgrid/s4u/Link.hpp
index
3e0832b
..
c79ca46
100644
(file)
--- a/
include/simgrid/s4u/Link.hpp
+++ b/
include/simgrid/s4u/Link.hpp
@@
-133,10
+133,7
@@
public:
double get_load() const;
#ifndef DOXYGEN
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) */
#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);
}
on_this_destruction.connect(cb);
}
- XBT_ATTRIB_DEPRECATED_v33
7
("Please use on_onoff_cb() instead") static void on_state_change_cb(
+ XBT_ATTRIB_DEPRECATED_v33
8
("Please use on_onoff_cb() instead") static void on_state_change_cb(
const std::function<void(Link const&)>& cb)
{
on_onoff.connect(cb);
const std::function<void(Link const&)>& cb)
{
on_onoff.connect(cb);