From 5b471fd312578823ddf19badd84c523c024e99bf Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 6 Jul 2017 10:54:06 +0200 Subject: [PATCH] s4u::Actor::execute() dont need to return a state It could be used to say if the host failed during that execution, but the actor would be killed on such failure anyway. So it can only return "no problem". Not that useful. --- include/simgrid/s4u/Actor.hpp | 2 +- src/s4u/s4u_actor.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 960118c128..4d948964e9 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -300,7 +300,7 @@ template inline void sleep_for(std::chrono::duration