Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the S4U method retrieving the internal impl to getImpl
[simgrid.git] / include / simgrid / s4u / mailbox.hpp
index 4238ecf..88f9b98 100644 (file)
@@ -35,7 +35,7 @@ XBT_PUBLIC_CLASS Mailbox {
   Mailbox(smx_mailbox_t mbox): pimpl_(mbox) {}
 
 protected:
-  smx_mailbox_t getInferior() { return pimpl_; }
+  smx_mailbox_t getImpl() { return pimpl_; }
 
 public:
 
@@ -61,7 +61,7 @@ public:
   void setReceiver(Actor* process);
 
   /** Return the process declared as permanent receiver, or nullptr if none **/
-  Actor& receiver();
+  ActorPtr receiver();
 };
 
 using MailboxPtr = Mailbox::Ptr;