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
d5bf15d
..
5ea9f88
100644
(file)
--- a/
src/s4u/s4u_actor.cpp
+++ b/
src/s4u/s4u_actor.cpp
@@
-62,11
+62,11
@@
void Actor::setAutoRestart(bool autorestart) {
}
s4u::Host *Actor::getHost() {
}
s4u::Host *Actor::getHost() {
- return
s4u::Host::by_name(sg_host_get_name(simcall_process_get_host(pimpl_)))
;
+ return
pimpl_->host
;
}
}
-
const char*
Actor::getName() {
- return
simcall_process_get_name(pimpl_)
;
+
simgrid::xbt::string
Actor::getName() {
+ return
pimpl_->name
;
}
int Actor::getPid(){
}
int Actor::getPid(){