Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not pass intrusive_ptr<> to the logging subsystem
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 31 Jul 2016 15:15:18 +0000 (17:15 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 31 Jul 2016 15:15:18 +0000 (17:15 +0200)
src/msg/msg_mailbox.cpp

index 2119287..a6b8057 100644 (file)
@@ -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) {