X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4cf7a52375e761511d30a77a2977e5f3ac8a59f9..60132441453a8025b1a584dd8cc977ec39364f7f:/src/kernel/activity/MailboxImpl.cpp diff --git a/src/kernel/activity/MailboxImpl.cpp b/src/kernel/activity/MailboxImpl.cpp index 3cb2e1cf45..4b8a307abd 100644 --- a/src/kernel/activity/MailboxImpl.cpp +++ b/src/kernel/activity/MailboxImpl.cpp @@ -80,7 +80,7 @@ void MailboxImpl::clear() // CommImpl::cancel() will remove the comm from the mailbox.. while (not comm_queue_.empty()) { auto comm = comm_queue_.back(); - if (comm->get_state() == State::WAITING && not comm->detached()) { + if (comm->get_state() == State::WAITING && not comm->is_detached()) { comm->cancel(); comm->set_state(State::DST_HOST_FAILURE); } else