Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Fix errors on SUSE: ActorPtr cannot be printed, use process_.get()
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 18 Jan 2018 16:02:33 +0000 (17:02 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 24 Jan 2018 14:58:21 +0000 (15:58 +0100)
src/smpi/internals/smpi_process.cpp

index 17b3812..29ac6f4 100644 (file)
@@ -76,7 +76,7 @@ void Process::set_data(int* argc, char*** argv)
   argv_ = argv;
   // set the process attached to the mailbox
   mailbox_small_->setReceiver(process_);
   argv_ = argv;
   // set the process attached to the mailbox
   mailbox_small_->setReceiver(process_);
-  XBT_DEBUG("<%lu> New process in the game: %p", process_->getPid(), process_);
+  XBT_DEBUG("<%lu> New process in the game: %p", process_->getPid(), process_.get());
 }
 
 /** @brief Prepares the current process for termination. */
 }
 
 /** @brief Prepares the current process for termination. */