Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate the is_off() methods.
[simgrid.git] / src / s4u / s4u_Link.cpp
index 20cf1d1..d09897b 100644 (file)
@@ -78,14 +78,10 @@ void Link::turn_off()
   simgrid::simix::simcall([this]() { this->pimpl_->turn_off(); });
 }
 
-bool Link::is_on()
+bool Link::is_on() const
 {
   return this->pimpl_->is_on();
 }
-bool Link::is_off()
-{
-  return this->pimpl_->is_off();
-}
 
 void* Link::get_data()
 {