X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef69c519d691f79b5bcaa2db924781d4d0f15297..77bbf3027c4240a2e833209a3a3f186589da8577:/src/kernel/activity/MailboxImpl.cpp?ds=sidebyside diff --git a/src/kernel/activity/MailboxImpl.cpp b/src/kernel/activity/MailboxImpl.cpp index 330345b9b8..bed10c21be 100644 --- a/src/kernel/activity/MailboxImpl.cpp +++ b/src/kernel/activity/MailboxImpl.cpp @@ -13,7 +13,7 @@ static std::map* mailboxes = new std::map(activity); xbt_assert(comm->mbox == this, "Comm %p is in mailbox %s, not mailbox %s", comm.get(), - (comm->mbox ? comm->mbox->name_.c_str() : "(null)"), this->name_.c_str()); + (comm->mbox ? comm->mbox->getCname() : "(null)"), this->getCname()); comm->mbox = nullptr; for (auto it = this->comm_queue.begin(); it != this->comm_queue.end(); it++) if (*it == comm) { this->comm_queue.erase(it); return; } - xbt_die("Comm %p not found in mailbox %s", comm.get(), this->name_.c_str()); + xbt_die("Comm %p not found in mailbox %s", comm.get(), this->getCname()); } } }