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
cosmetics and wrapper
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Exec.hpp
diff --git
a/include/simgrid/s4u/Exec.hpp
b/include/simgrid/s4u/Exec.hpp
index 57fe743cd4309603a0bbcc6df41a279aaeb50a07..4f3ea0fdb9a058537db5a701eeabe4343641548b 100644
(file)
--- a/
include/simgrid/s4u/Exec.hpp
+++ b/
include/simgrid/s4u/Exec.hpp
@@
-76,6
+76,7
@@
public:
ExecPtr set_host(Host* host);
ExecPtr set_hosts(const std::vector<Host*>& hosts);
ExecPtr unset_host();
ExecPtr set_host(Host* host);
ExecPtr set_hosts(const std::vector<Host*>& hosts);
ExecPtr unset_host();
+ ExecPtr unset_hosts() { return unset_host(); }
ExecPtr set_flops_amount(double flops_amount);
ExecPtr set_flops_amounts(const std::vector<double>& flops_amounts);
ExecPtr set_flops_amount(double flops_amount);
ExecPtr set_flops_amounts(const std::vector<double>& flops_amounts);