X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28874d42ad02de8c1ec9d26b34086b377371d2c1..8d9b5170925fd2a7873c619c5d6cdff8616f9bfc:/src/s4u/s4u_Link.cpp diff --git a/src/s4u/s4u_Link.cpp b/src/s4u/s4u_Link.cpp index 373708bc68..41a19abdac 100644 --- a/src/s4u/s4u_Link.cpp +++ b/src/s4u/s4u_Link.cpp @@ -122,9 +122,10 @@ void Link::turn_off() { kernel::actor::simcall([this]() { this->pimpl_->turn_off(); }); } -void Link::seal() +Link* Link::seal() { kernel::actor::simcall([this]() { this->pimpl_->seal(); }); + return this; } bool Link::is_on() const