X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05a1845ae0f4e4ed1988408ec0e8f95671ff2501..e597737e01b6ac76d6e9ccdf67a85c03c53de7c3:/src/surf/network_constant.cpp diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index d7dd2ad8e1..e68c91d532 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -69,11 +69,11 @@ namespace simgrid { if (action->getRemainsNoUpdate() <= 0) { action->finish(); - action->setState(SURF_ACTION_DONE); + action->setState(Action::State::done); } else if ((action->getMaxDuration() != NO_MAX_DURATION) && (action->getMaxDuration() <= 0)) { action->finish(); - action->setState(SURF_ACTION_DONE); + action->setState(Action::State::done); } } }