From 4ec65626ec76673413d980213b7b009dd003f1db Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 29 Nov 2020 11:18:43 +0100 Subject: [PATCH] Fix comment. --- include/simgrid/s4u/Comm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 49b9071ad6..47490987a5 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -50,7 +50,7 @@ public: /*! take a vector s4u::CommPtr and return when one of them is finished. * The return value is the rank of the first finished CommPtr. */ static int wait_any(const std::vector* comms) { return wait_any_for(comms, -1); } - /*! Same as wait_any, but with a timeout. If the timeout occurs, parameter last is returned.*/ + /*! Same as wait_any, but with a timeout. Return -1 if the timeout occurs.*/ static int wait_any_for(const std::vector* comms_in, double timeout); /*! take a vector s4u::CommPtr and return when all of them is finished. */ -- 2.20.1