X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c2bebbceae24bb9a74fe034c71862c84a6193e7f..16bbb8a8212497d9c44c81333ed2c0e689e0c5af:/src/s4u/s4u_async.cpp diff --git a/src/s4u/s4u_async.cpp b/src/s4u/s4u_async.cpp index 5bbce9a31d..331ef22d0e 100644 --- a/src/s4u/s4u_async.cpp +++ b/src/s4u/s4u_async.cpp @@ -22,7 +22,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; }