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
Remove the actor of the on_{start/completion} parameters as it is always initialized...
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Exec.hpp
diff --git
a/include/simgrid/s4u/Exec.hpp
b/include/simgrid/s4u/Exec.hpp
index
e3894ac
..
d2a6a12
100644
(file)
--- a/
include/simgrid/s4u/Exec.hpp
+++ b/
include/simgrid/s4u/Exec.hpp
@@
-40,14
+40,14
@@
class XBT_PUBLIC Exec : public Activity_T<Exec> {
public:
Exec();
public:
Exec();
-
virtual ~Exec()
= default;
+
~Exec() override
= default;
#ifndef DOXYGEN
Exec(Exec const&) = delete;
Exec& operator=(Exec const&) = delete;
#endif
#ifndef DOXYGEN
Exec(Exec const&) = delete;
Exec& operator=(Exec const&) = delete;
#endif
- static xbt::signal<void(
Actor const&,
Exec const&)> on_start;
- static xbt::signal<void(
Actor const&,
Exec const&)> on_completion;
+ static xbt::signal<void(Exec const&)> on_start;
+ static xbt::signal<void(Exec const&)> on_completion;
Exec* start() override;
/** @brief On sequential executions, returns the amount of flops that remain to be done; This cannot be used on
Exec* start() override;
/** @brief On sequential executions, returns the amount of flops that remain to be done; This cannot be used on