X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/078a96e4b84369c23073bb68e15273030e9a357b..92cd12d0b61dd5a17500ef7d38f7b95a80301037:/src/s4u/s4u_Comm.cpp diff --git a/src/s4u/s4u_Comm.cpp b/src/s4u/s4u_Comm.cpp index f119c5aff8..730a6b4f29 100644 --- a/src/s4u/s4u_Comm.cpp +++ b/src/s4u/s4u_Comm.cpp @@ -200,7 +200,7 @@ Comm* Comm::detach() Comm* Comm::cancel() { - simix::simcall([this] { + kernel::actor::simcall([this] { if (pimpl_) boost::static_pointer_cast(pimpl_)->cancel(); }); @@ -230,9 +230,9 @@ Mailbox* Comm::get_mailbox() return mailbox_; } -ActorPtr Comm::get_sender() +Actor* Comm::get_sender() { - return sender_ ? sender_->iface() : nullptr; + return sender_ ? sender_->ciface() : nullptr; } void intrusive_ptr_release(simgrid::s4u::Comm* c)