Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate the is_off() methods.
[simgrid.git] / src / s4u / s4u_Link.cpp
index 2019f74..d09897b 100644 (file)
@@ -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();