X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/86e534066dafbcbb2284a75ad76d8258a329d226..d9966aa66acc63c0417fbeae8e3ff12bccb0cdb0:/src/kernel/activity/CommImpl.cpp diff --git a/src/kernel/activity/CommImpl.cpp b/src/kernel/activity/CommImpl.cpp index 98be4746d6..e811dd1768 100644 --- a/src/kernel/activity/CommImpl.cpp +++ b/src/kernel/activity/CommImpl.cpp @@ -97,15 +97,15 @@ void simgrid::kernel::activity::CommImpl::cleanupSurf() void simgrid::kernel::activity::CommImpl::post() { /* Update synchro state */ - if (src_timeout && src_timeout->getState() == simgrid::surf::Action::State::done) + if (src_timeout && src_timeout->getState() == simgrid::kernel::resource::Action::State::done) state = SIMIX_SRC_TIMEOUT; - else if (dst_timeout && dst_timeout->getState() == simgrid::surf::Action::State::done) + else if (dst_timeout && dst_timeout->getState() == simgrid::kernel::resource::Action::State::done) state = SIMIX_DST_TIMEOUT; - else if (src_timeout && src_timeout->getState() == simgrid::surf::Action::State::failed) + else if (src_timeout && src_timeout->getState() == simgrid::kernel::resource::Action::State::failed) state = SIMIX_SRC_HOST_FAILURE; - else if (dst_timeout && dst_timeout->getState() == simgrid::surf::Action::State::failed) + else if (dst_timeout && dst_timeout->getState() == simgrid::kernel::resource::Action::State::failed) state = SIMIX_DST_HOST_FAILURE; - else if (surfAction_ && surfAction_->getState() == simgrid::surf::Action::State::failed) { + else if (surfAction_ && surfAction_->getState() == simgrid::kernel::resource::Action::State::failed) { state = SIMIX_LINK_FAILURE; } else state = SIMIX_DONE;