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
Constify getName()/getCname() in s4u::Actor.
[simgrid.git]
/
teshsuite
/
s4u
/
actor
/
actor.cpp
diff --git
a/teshsuite/s4u/actor/actor.cpp
b/teshsuite/s4u/actor/actor.cpp
index
948eca2
..
46b464f
100644
(file)
--- a/
teshsuite/s4u/actor/actor.cpp
+++ b/
teshsuite/s4u/actor/actor.cpp
@@
-26,7
+26,7
@@
static void master()
simgrid::s4u::this_actor::getHost()->actorList(actor_list);
for (auto const& actor : *actor_list) {
simgrid::s4u::this_actor::getHost()->actorList(actor_list);
for (auto const& actor : *actor_list) {
- XBT_INFO("Actor (pid=%lu, ppid=%lu, name=%s)", actor->getPid(), actor->getPpid(), actor->get
Name().c_str
());
+ XBT_INFO("Actor (pid=%lu, ppid=%lu, name=%s)", actor->getPid(), actor->getPpid(), actor->get
Cname
());
if (simgrid::s4u::this_actor::getPid() != actor->getPid())
actor->kill();
}
if (simgrid::s4u::this_actor::getPid() != actor->getPid())
actor->kill();
}