From: Martin Quinson Date: Sat, 9 Dec 2017 15:17:34 +0000 (+0100) Subject: remove a useless 'friend' statement (+cosmetics) X-Git-Tag: v3.18~77 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/917ea1ff2959e5923d6c072e7c42e7f430dfa4ca remove a useless 'friend' statement (+cosmetics) --- diff --git a/include/simgrid/s4u/Mailbox.hpp b/include/simgrid/s4u/Mailbox.hpp index 3ca34595a0..4b6a905236 100644 --- a/include/simgrid/s4u/Mailbox.hpp +++ b/include/simgrid/s4u/Mailbox.hpp @@ -106,7 +106,6 @@ namespace s4u { */ XBT_PUBLIC_CLASS Mailbox { friend Comm; - friend simgrid::s4u::Engine; friend simgrid::kernel::activity::MailboxImpl; simgrid::kernel::activity::MailboxImpl* pimpl_; diff --git a/src/kernel/activity/MailboxImpl.hpp b/src/kernel/activity/MailboxImpl.hpp index 3ebc417cdf..2039f25fbe 100644 --- a/src/kernel/activity/MailboxImpl.hpp +++ b/src/kernel/activity/MailboxImpl.hpp @@ -37,7 +37,7 @@ public: simgrid::s4u::Mailbox piface_; // Our interface simgrid::xbt::string name_; - simgrid::simix::ActorImplPtr permanent_receiver; // process which the mailbox is attached to + simgrid::simix::ActorImplPtr permanent_receiver; // process to which the mailbox is attached boost::circular_buffer_space_optimized comm_queue; boost::circular_buffer_space_optimized done_comm_queue; // messages already received in the permanent receive mode };