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 c++ strings for s4u::Actor names
[simgrid.git]
/
src
/
s4u
/
s4u_actor.cpp
diff --git
a/src/s4u/s4u_actor.cpp
b/src/s4u/s4u_actor.cpp
index
79212bc
..
5ea9f88
100644
(file)
--- a/
src/s4u/s4u_actor.cpp
+++ b/
src/s4u/s4u_actor.cpp
@@
-65,8
+65,8
@@
s4u::Host *Actor::getHost() {
return pimpl_->host;
}
return pimpl_->host;
}
-
const char*
Actor::getName() {
- return pimpl_->name
.c_str()
;
+
simgrid::xbt::string
Actor::getName() {
+ return pimpl_->name;
}
int Actor::getPid(){
}
int Actor::getPid(){