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
[simix] Create actors by value (instead of new()-ing and leaking them)
[simgrid.git]
/
include
/
simgrid
/
s4u
/
mailbox.hpp
diff --git
a/include/simgrid/s4u/mailbox.hpp
b/include/simgrid/s4u/mailbox.hpp
index
aa5f327
..
3d1b6ab
100644
(file)
--- a/
include/simgrid/s4u/mailbox.hpp
+++ b/
include/simgrid/s4u/mailbox.hpp
@@
-33,7
+33,7
@@
public:
~Mailbox();
protected:
~Mailbox();
protected:
- smx_mailbox_t getInferior() { return
inferior
_; }
+ smx_mailbox_t getInferior() { return
pimpl
_; }
public:
/** Get the name of that mailbox */
public:
/** Get the name of that mailbox */
@@
-54,7
+54,7
@@
public:
private:
std::string name_;
private:
std::string name_;
- smx_mailbox_t
inferior
_;
+ smx_mailbox_t
pimpl
_;
static boost::unordered_map<std::string, Mailbox *> *mailboxes;
friend s4u::Engine;
};
static boost::unordered_map<std::string, Mailbox *> *mailboxes;
friend s4u::Engine;
};