Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
enum class for e_s4u_activity_state_t
[simgrid.git] / src / s4u / s4u_activity.cpp
index d2cc31b..daceb75 100644 (file)
@@ -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;
 }