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
dict--
[simgrid.git]
/
src
/
s4u
/
s4u_mailbox.cpp
diff --git
a/src/s4u/s4u_mailbox.cpp
b/src/s4u/s4u_mailbox.cpp
index b53d652f30f242aaa9f1decaacca0fe38bdeec70..cb5b0a03c2f602da01c922d34ef092efb1507bc2 100644
(file)
--- a/
src/s4u/s4u_mailbox.cpp
+++ b/
src/s4u/s4u_mailbox.cpp
@@
-18,7
+18,7
@@
namespace s4u {
const char* Mailbox::getName()
{
const char* Mailbox::getName()
{
- return pimpl_->name_;
+ return pimpl_->name_
.c_str()
;
}
MailboxPtr Mailbox::byName(const char*name)
}
MailboxPtr Mailbox::byName(const char*name)
@@
-53,9
+53,7
@@
smx_activity_t Mailbox::front()
}
void Mailbox::setReceiver(ActorPtr actor) {
}
void Mailbox::setReceiver(ActorPtr actor) {
- simix::kernelImmediate([this, actor]() {
- this->pimpl_->setReceiver(actor);
- });
+ simix::kernelImmediate([this, actor]() { this->pimpl_->setReceiver(actor); });
}
/** @brief get the receiver (process associated to the mailbox) */
}
/** @brief get the receiver (process associated to the mailbox) */