X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7164761a9bba82982c6fd045bd27ccccc0075b15..d4836dbfe1376399c84e1522fc2c2a0f8e410c5c:/src/s4u/s4u_mailbox.cpp diff --git a/src/s4u/s4u_mailbox.cpp b/src/s4u/s4u_mailbox.cpp index a3dbf166c0..32ab0bb99c 100644 --- a/src/s4u/s4u_mailbox.cpp +++ b/src/s4u/s4u_mailbox.cpp @@ -16,9 +16,14 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_channel,s4u,"S4U Communication Mailboxes"); namespace simgrid { namespace s4u { -const char* Mailbox::getName() +const simgrid::xbt::string& Mailbox::getName() const { - return pimpl_->name_.c_str(); + return pimpl_->getName(); +} + +const char* Mailbox::getCname() const +{ + return pimpl_->getCname(); } MailboxPtr Mailbox::byName(const char*name)