]> AND Public Git Repository - simgrid.git/blobdiff - src/s4u/s4u_Activity.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / s4u / s4u_Activity.cpp
index d3eaaefd236a0220f5f4b6199baccee6217195bc..9ef1d5f6a1144cf6996dde48faf8eef785b56d2f 100644 (file)
@@ -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;
 }