X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/11ae3bfac7b4c85a23e220b9d0755449a622a37b..fb33f893495b18dc7a0e13182b901d4cf662150f:/include/simgrid/s4u/comm.hpp diff --git a/include/simgrid/s4u/comm.hpp b/include/simgrid/s4u/comm.hpp index 941a553ddc..239755eefb 100644 --- a/include/simgrid/s4u/comm.hpp +++ b/include/simgrid/s4u/comm.hpp @@ -26,8 +26,6 @@ XBT_PUBLIC_CLASS Comm : public Activity { public: ~Comm() override; -public: - /*! take a range of s4u::Comm* (last excluded) and return when one of them is finished. The return value is an iterator on the finished Comms. */ template static I wait_any(I first, I last) @@ -122,8 +120,8 @@ private: void (*cleanFunction_)(void *) = nullptr; void (*copyDataFunction_)(smx_activity_t, void*, size_t) = nullptr; - smx_process_t sender_ = nullptr; - smx_process_t receiver_ = nullptr; + smx_actor_t sender_ = nullptr; + smx_actor_t receiver_ = nullptr; MailboxPtr mailbox_ = nullptr; };