X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa67ed434e8afd261f1f1ad1947c15b1881651bd..4a13db94f50023e3e9ad850b936b69b5f85b7fb7:/src/s4u/s4u_activity.cpp diff --git a/src/s4u/s4u_activity.cpp b/src/s4u/s4u_activity.cpp index d2cc31b58f..daceb75ba1 100644 --- a/src/s4u/s4u_activity.cpp +++ b/src/s4u/s4u_activity.cpp @@ -22,7 +22,7 @@ double Activity::getRemains() Activity* Activity::setRemains(double remains) { - xbt_assert(state_ == inited, "Cannot change the remaining amount of work once the Activity is started"); + xbt_assert(state_ == State::inited, "Cannot change the remaining amount of work once the Activity is started"); remains_ = remains; return this; }