X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f863142ca1ffcf37908e0beb8dd4b71eb2a74c86..cd7c99997320509f64f9a11948573f0a0d3e2b82:/src/surf/xml/surfxml_sax_cb.cpp diff --git a/src/surf/xml/surfxml_sax_cb.cpp b/src/surf/xml/surfxml_sax_cb.cpp index 5433be3cc1..2cd4006951 100644 --- a/src/surf/xml/surfxml_sax_cb.cpp +++ b/src/surf/xml/surfxml_sax_cb.cpp @@ -951,10 +951,10 @@ void ETag_surfxml_actor() switch (A_surfxml_actor_on___failure) { case AU_surfxml_actor_on___failure: case A_surfxml_actor_on___failure_DIE: - actor.on_failure = simgrid::kernel::routing::ActorOnFailure::DIE; + actor.restart_on_failure = false; break; case A_surfxml_actor_on___failure_RESTART: - actor.on_failure = simgrid::kernel::routing::ActorOnFailure::RESTART; + actor.restart_on_failure = true; break; default: surf_parse_error("Invalid on failure behavior");