Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New function: s4u::Activity::test()
[simgrid.git] / src / s4u / s4u_Comm.cpp
index bebc91b..a5d5e5f 100644 (file)
@@ -53,9 +53,8 @@ void Comm::wait_all(std::vector<CommPtr>* comms)
 {
   // TODO: this should be a simcall or something
   // TODO: we are missing a version with timeout
-  for (CommPtr comm : *comms) {
+  for (CommPtr comm : *comms)
     comm->wait();
-  }
 }
 
 Activity* Comm::set_rate(double rate)