Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add const attribute.
[simgrid.git] / include / simgrid / s4u / Link.hpp
index f713c35..c34383a 100644 (file)
@@ -60,9 +60,9 @@ public:
   bool is_used();
 
   void turn_on();
-  bool is_on();
+  bool is_on() const;
   void turn_off();
-  bool is_off();
+  bool is_off() const;
 
   void* get_data(); /** Should be used only from the C interface. Prefer extensions in C++ */
   void set_data(void* d);