Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
obey our coding conventions in ActorImpl::mailboxes, and free them once only
[simgrid.git] / src / kernel / activity / MailboxImpl.cpp
index cafb036..a2620a3 100644 (file)
@@ -32,7 +32,7 @@ MailboxImpl::~MailboxImpl()
 void MailboxImpl::set_receiver(s4u::ActorPtr actor)
 {
   if (this->permanent_receiver_) {
-    std::vector<MailboxImpl*>& mboxes = this->permanent_receiver_->mailboxes;
+    std::vector<MailboxImpl*>& mboxes = this->permanent_receiver_->mailboxes_;
     mboxes.erase(std::remove(mboxes.begin(), mboxes.end(), this), mboxes.end());
   }