From: Martin Quinson Date: Sun, 31 Jul 2016 15:15:18 +0000 (+0200) Subject: do not pass intrusive_ptr<> to the logging subsystem X-Git-Tag: v3_14~684 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b6fe7e75cd720400327e0585247824b7b82805aa do not pass intrusive_ptr<> to the logging subsystem --- diff --git a/src/msg/msg_mailbox.cpp b/src/msg/msg_mailbox.cpp index 21192878cf..a6b8057460 100644 --- a/src/msg/msg_mailbox.cpp +++ b/src/msg/msg_mailbox.cpp @@ -100,7 +100,7 @@ msg_error_t MSG_mailbox_get_task_ext_bounded(msg_mailbox_t mailbox, msg_task_t * /* Try to receive it by calling SIMIX network layer */ try { simcall_comm_recv(MSG_process_self(), mailbox->getImpl(), task, nullptr, nullptr, nullptr, nullptr, timeout, rate); - XBT_DEBUG("Got task %s from %p",(*task)->name,mailbox); + XBT_DEBUG("Got task %s from %s",(*task)->name,mailbox->getName()); (*task)->simdata->setNotUsed(); } catch (xbt_ex& e) {