Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add const attribute.
[simgrid.git] / src / s4u / s4u_Link.cpp
index 20cf1d1..b3470e5 100644 (file)
@@ -78,11 +78,11 @@ void Link::turn_off()
   simgrid::simix::simcall([this]() { this->pimpl_->turn_off(); });
 }
 
   simgrid::simix::simcall([this]() { this->pimpl_->turn_off(); });
 }
 
-bool Link::is_on()
+bool Link::is_on() const
 {
   return this->pimpl_->is_on();
 }
 {
   return this->pimpl_->is_on();
 }
-bool Link::is_off()
+bool Link::is_off() const
 {
   return this->pimpl_->is_off();
 }
 {
   return this->pimpl_->is_off();
 }