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
Remove unused typedefs.
[simgrid.git]
/
src
/
msg
/
msg_mailbox.cpp
diff --git
a/src/msg/msg_mailbox.cpp
b/src/msg/msg_mailbox.cpp
index
791e59d
..
b99055d
100644
(file)
--- a/
src/msg/msg_mailbox.cpp
+++ b/
src/msg/msg_mailbox.cpp
@@
-22,8
+22,7
@@
extern "C" {
* \param alias The name of the mailbox
*/
void MSG_mailbox_set_async(const char *alias){
* \param alias The name of the mailbox
*/
void MSG_mailbox_set_async(const char *alias){
- simgrid::s4u::MailboxPtr mailbox = simgrid::s4u::Mailbox::byName(alias);
- mailbox->setReceiver(simgrid::s4u::Actor::self());
+ simgrid::s4u::Mailbox::byName(alias)->setReceiver(simgrid::s4u::Actor::self());
XBT_VERB("%s mailbox set to receive eagerly for myself\n",alias);
}
}
XBT_VERB("%s mailbox set to receive eagerly for myself\n",alias);
}
}