]> AND Public Git Repository - simgrid.git/blobdiff - src/s4u/s4u_Link.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not store name in s4u::Disk
[simgrid.git] / src / s4u / s4u_Link.cpp
index 373708bc6876e7d656cdb188dba34e2c1a8a40d5..41a19abdac10012dae9280d23078a8f791c0776e 100644 (file)
@@ -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