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
Merge branch 'master' into disk
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.hpp
diff --git
a/src/kernel/activity/SleepImpl.hpp
b/src/kernel/activity/SleepImpl.hpp
index
30a004c
..
ec5c9e2
100644
(file)
--- a/
src/kernel/activity/SleepImpl.hpp
+++ b/
src/kernel/activity/SleepImpl.hpp
@@
-13,14
+13,13
@@
namespace simgrid {
namespace kernel {
namespace activity {
namespace kernel {
namespace activity {
-class XBT_PUBLIC SleepImpl : public ActivityImpl {
+class XBT_PUBLIC SleepImpl : public ActivityImpl
_T<SleepImpl>
{
sg_host_t host_ = nullptr;
double duration_ = 0;
public:
sg_host_t host_ = nullptr;
double duration_ = 0;
public:
- SleepImplPtr set_name(const std::string& name);
- SleepImplPtr set_host(s4u::Host* host);
- SleepImplPtr set_duration(double duration);
+ SleepImpl& set_host(s4u::Host* host);
+ SleepImpl& set_duration(double duration);
void post() override;
void finish() override;
SleepImpl* start();
void post() override;
void finish() override;
SleepImpl* start();