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
Clearly state that we don't care about the return code of actors
[simgrid.git]
/
examples
/
s4u
/
exec-dependent
/
s4u-exec-dependent.cpp
diff --git
a/examples/s4u/exec-dependent/s4u-exec-dependent.cpp
b/examples/s4u/exec-dependent/s4u-exec-dependent.cpp
index
67b32b9
..
7eb7136
100644
(file)
--- a/
examples/s4u/exec-dependent/s4u-exec-dependent.cpp
+++ b/
examples/s4u/exec-dependent/s4u-exec-dependent.cpp
@@
-30,8
+30,8
@@
static void worker()
child->set_name("child");
// Create the dependencies by declaring 'child' as a successor of first_parent and second_parent
child->set_name("child");
// Create the dependencies by declaring 'child' as a successor of first_parent and second_parent
- first_parent->add_successor(child
.get()
);
- second_parent->add_successor(child
.get()
);
+ first_parent->add_successor(child);
+ second_parent->add_successor(child);
// Start the activities.
first_parent->start();
// Start the activities.
first_parent->start();