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
Deprecate the is_off() methods.
[simgrid.git]
/
src
/
s4u
/
s4u_Link.cpp
diff --git
a/src/s4u/s4u_Link.cpp
b/src/s4u/s4u_Link.cpp
index
2019f74
..
d09897b
100644
(file)
--- a/
src/s4u/s4u_Link.cpp
+++ b/
src/s4u/s4u_Link.cpp
@@
-78,6
+78,11
@@
void Link::turn_off()
simgrid::simix::simcall([this]() { this->pimpl_->turn_off(); });
}
+bool Link::is_on() const
+{
+ return this->pimpl_->is_on();
+}
+
void* Link::get_data()
{
return this->pimpl_->get_data();