Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define const is_used().
[simgrid.git] / src / surf / network_interface.cpp
index 42902a4..949e071 100644 (file)
@@ -104,7 +104,7 @@ void LinkImpl::destroy()
   }
 }
 
-bool LinkImpl::is_used()
+bool LinkImpl::is_used() const
 {
   return get_model()->get_maxmin_system()->constraint_used(get_constraint());
 }