A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give s4u::Actor a cname() method
[simgrid.git]
/
src
/
s4u
/
s4u_mailbox.cpp
diff --git
a/src/s4u/s4u_mailbox.cpp
b/src/s4u/s4u_mailbox.cpp
index
2fa5db2
..
b2cbb4d
100644
(file)
--- a/
src/s4u/s4u_mailbox.cpp
+++ b/
src/s4u/s4u_mailbox.cpp
@@
-54,9
+54,9
@@
void Mailbox::setReceiver(ActorPtr actor) {
/** @brief get the receiver (process associated to the mailbox) */
ActorPtr Mailbox::receiver() {
/** @brief get the receiver (process associated to the mailbox) */
ActorPtr Mailbox::receiver() {
- if(pimpl_->permanent_receiver == nullptr)
+ if
(pimpl_->permanent_receiver == nullptr)
return ActorPtr();
return ActorPtr();
- return
ActorPtr(&pimpl_->permanent_receiver->getIface()
);
+ return
pimpl_->permanent_receiver->iface(
);
}
}
}
}