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
reduce the amount of static_cast in smx_network
[simgrid.git]
/
src
/
kernel
/
activity
/
MailboxImpl.cpp
diff --git
a/src/kernel/activity/MailboxImpl.cpp
b/src/kernel/activity/MailboxImpl.cpp
index b8ff61276ac3a1bf8b6944eef1cb25cbf04c5d2c..06060f429951151b8c59df4da9623d6c16056275 100644
(file)
--- a/
src/kernel/activity/MailboxImpl.cpp
+++ b/
src/kernel/activity/MailboxImpl.cpp
@@
-50,11
+50,10
@@
void MailboxImpl::setReceiver(s4u::ActorPtr actor)
this->permanent_receiver = actor.get()->getImpl();
}
/** @brief Pushes a communication activity into a mailbox
this->permanent_receiver = actor.get()->getImpl();
}
/** @brief Pushes a communication activity into a mailbox
- * @param
activity
What to add
+ * @param
comm
What to add
*/
*/
-void MailboxImpl::push(
smx_activity_t synchro
)
+void MailboxImpl::push(
activity::Comm* comm
)
{
{
- simgrid::kernel::activity::Comm* comm = static_cast<simgrid::kernel::activity::Comm*>(synchro);
this->comm_queue.push_back(comm);
comm->mbox = this;
}
this->comm_queue.push_back(comm);
comm->mbox = this;
}