]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/s4u/Barrier.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish the API under the new format
[simgrid.git] / include / simgrid / s4u / Barrier.hpp
index 207615555f5ecfb0acb2a89e219f4beffeb1adaf..34c618291e241990d2f238ede0a6ce25b5dd1867 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2018-2020. 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. */
@@ -30,7 +30,7 @@ private:
 
 public:
   /** Creates a barrier for the given amount of actors */
-  explicit Barrier(unsigned int expected_processes) : expected_actors_(expected_processes) {}
+  explicit Barrier(unsigned int expected_actors) : expected_actors_(expected_actors) {}
 #ifndef DOXYGEN
   ~Barrier()              = default;
   Barrier(Barrier const&) = delete;