Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another example gets documented (+cosmetics)
[simgrid.git] / include / simgrid / s4u / Barrier.hpp
index 547f5d82d46053f4e4abb4d1f4cb8b0098919493..c0318594cf24f49c7c88978c6166e7275421e6a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2018-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2018-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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 */