Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
enum class values should be UPPER_CASE
[simgrid.git] / src / kernel / activity / MailboxImpl.cpp
index 63fdfb4..647c643 100644 (file)
@@ -1,10 +1,9 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/kernel/activity/MailboxImpl.hpp"
-
 #include "src/kernel/activity/CommImpl.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_mailbox, simix, "Mailbox implementation");
@@ -54,7 +53,7 @@ MailboxImpl* MailboxImpl::byNameOrCreate(const char* name)
 void MailboxImpl::setReceiver(s4u::ActorPtr actor)
 {
   if (actor != nullptr)
-    this->permanent_receiver = actor.get()->getImpl();
+    this->permanent_receiver = actor.get()->get_impl();
   else
     this->permanent_receiver = nullptr;
 }