From b6fe7e75cd720400327e0585247824b7b82805aa Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 31 Jul 2016 17:15:18 +0200 Subject: [PATCH] do not pass intrusive_ptr<> to the logging subsystem --- src/msg/msg_mailbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1