X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203ed1f4fb6f4617e94d5351661ba07e8b8f833..29cedcb0af274d0dd82224451767e8d01162d734:/src/s4u/s4u_async.cpp diff --git a/src/s4u/s4u_async.cpp b/src/s4u/s4u_async.cpp index 5bbce9a31d..183803d3c3 100644 --- a/src/s4u/s4u_async.cpp +++ b/src/s4u/s4u_async.cpp @@ -6,7 +6,6 @@ #include "xbt/log.h" #include "src/msg/msg_private.h" -#include "src/msg/msg_mailbox.h" #include "simgrid/s4u/async.hpp" @@ -22,7 +21,7 @@ s4u::Async::~Async() { } void s4u::Async::setRemains(double remains) { - xbt_assert(p_state == inited, "Cannot change the remaining amount of work once the Async is started"); - p_remains = remains; + xbt_assert(p_state == inited, "Cannot change the remaining amount of work once the Async is started"); + p_remains = remains; }