X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/825fe6086e463bfd069172bd45a6e39a83796d19..65fb3bd8de358e97a3a971de6781661456de302d:/src/s4u/s4u_async.cpp diff --git a/src/s4u/s4u_async.cpp b/src/s4u/s4u_async.cpp index 7088472ae3..183803d3c3 100644 --- a/src/s4u/s4u_async.cpp +++ b/src/s4u/s4u_async.cpp @@ -5,8 +5,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "xbt/log.h" -#include "msg/msg_private.h" -#include "msg/msg_mailbox.h" +#include "src/msg/msg_private.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; }