X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aee6610d4ad2377964369760bce27e18a12dd708..ff62437671d1e38ec348f57f90e74c55921e1d65:/src/s4u/s4u_Activity.cpp diff --git a/src/s4u/s4u_Activity.cpp b/src/s4u/s4u_Activity.cpp index d3eaaefd23..9ef1d5f6a1 100644 --- a/src/s4u/s4u_Activity.cpp +++ b/src/s4u/s4u_Activity.cpp @@ -22,7 +22,7 @@ double Activity::get_remaining() Activity* Activity::set_remaining(double remains) { - xbt_assert(state_ == 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; }