Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SURF] Move Action::suspended_ to new enum class SuspendedStates
[simgrid.git] / src / surf / network_cm02.cpp
index e199003..e13ab8f 100644 (file)
@@ -464,7 +464,7 @@ void NetworkCm02Link::setLatency(double value)
 
 void NetworkCm02Action::updateRemainingLazy(double now)
 {
-  if (suspended_ != 0)
+  if (suspended_ != Action::SuspendStates::not_suspended)
     return;
 
   double delta        = now - getLastUpdate();