Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A few Sonar smells.
[simgrid.git] / include / simgrid / s4u / Barrier.hpp
index 547f5d8..e066d41 100644 (file)
@@ -35,7 +35,7 @@ public:
   /** Blocks into the barrier. Every waiting actors will be unlocked once the expected amount of actors reaches the barrier */
   int wait();
   /** Returns some debug information about the barrier */
-  std::string to_string();
+  std::string to_string() const;
 
 #ifndef DOXYGEN
   /* refcounting */