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
make the propaganda useful (and thus desirable) to the users
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Mailbox.hpp
diff --git
a/include/simgrid/s4u/Mailbox.hpp
b/include/simgrid/s4u/Mailbox.hpp
index 37dceac1ad1921a35862d4767b23f208d1c0c2a2..07925b522848c77d8eb685d699a2eaa17c5d6b57 100644
(file)
--- a/
include/simgrid/s4u/Mailbox.hpp
+++ b/
include/simgrid/s4u/Mailbox.hpp
@@
-110,7
+110,7
@@
XBT_PUBLIC_CLASS Mailbox {
simgrid::simix::Mailbox *pimpl_;
simgrid::simix::Mailbox *pimpl_;
- Mailbox(smx_mailbox_t mbox): pimpl_(mbox) {}
+
explicit
Mailbox(smx_mailbox_t mbox): pimpl_(mbox) {}
/** private function to manage the mailboxes' lifetime (see @ref s4u_raii) */
friend void intrusive_ptr_add_ref(Mailbox*) {}
/** private function to manage the mailboxes' lifetime (see @ref s4u_raii) */
friend void intrusive_ptr_add_ref(Mailbox*) {}
@@
-121,7
+121,7
@@
public:
smx_mailbox_t getImpl() { return pimpl_; }
/** Gets the name of that mailbox */
smx_mailbox_t getImpl() { return pimpl_; }
/** Gets the name of that mailbox */
- const char *
getN
ame();
+ const char *
n
ame();
/** Retrieve the mailbox associated to the given C string */
static MailboxPtr byName(const char *name);
/** Retrieve the mailbox associated to the given C string */
static MailboxPtr byName(const char *name);