X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d7fe4acd47d3cb1db46b1400d032dc4475d067b3..6050383ef0dc59e1ca54d02bcf6bccb993593add:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 3ec8f1707a..4c0fd124f1 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -483,7 +483,7 @@ void SIMIX_post_host_execute(smx_synchro_t synchro) /* If the host running the synchro failed, notice it so that the asking * process can be killed if it runs on that host itself */ synchro->state = SIMIX_FAILED; - } else if (synchro->execution.surf_exec->getState() == SURF_ACTION_FAILED) { + } else if (synchro->execution.surf_exec->getState() == simgrid::surf::Action::State::failed) { /* If the host running the synchro didn't fail, then the synchro was * canceled */ synchro->state = SIMIX_CANCELED;