X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b049bada6ece9a57127a23fc04c542298518dc00..c84dc84beaec1cdcf7a49f1247cbc390414feaa0:/src/s4u/s4u_mailbox.cpp?ds=inline diff --git a/src/s4u/s4u_mailbox.cpp b/src/s4u/s4u_mailbox.cpp index ed93710d70..bba9fd2a13 100644 --- a/src/s4u/s4u_mailbox.cpp +++ b/src/s4u/s4u_mailbox.cpp @@ -31,7 +31,7 @@ MailboxPtr Mailbox::byName(const char*name) { smx_mailbox_t mbox = simcall_mbox_get_by_name(name); if (mbox == nullptr) mbox = simcall_mbox_create(name); - return MailboxPtr(&mbox->mbox_, true); + return MailboxPtr(&mbox->piface_, true); } bool Mailbox::empty() {