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
Use a C++ string instead of char* for mailbox name.
[simgrid.git]
/
src
/
s4u
/
s4u_mailbox.cpp
diff --git
a/src/s4u/s4u_mailbox.cpp
b/src/s4u/s4u_mailbox.cpp
index
5a594bc
..
a3dbf16
100644
(file)
--- a/
src/s4u/s4u_mailbox.cpp
+++ b/
src/s4u/s4u_mailbox.cpp
@@
-18,7
+18,7
@@
namespace s4u {
const char* Mailbox::getName()
{
- return pimpl_->name_;
+ return pimpl_->name_
.c_str()
;
}
MailboxPtr Mailbox::byName(const char*name)