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
more uniformity in kernel
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.cpp
diff --git
a/src/kernel/activity/SleepImpl.cpp
b/src/kernel/activity/SleepImpl.cpp
index
fd85d9d
..
3072fb9
100644
(file)
--- a/
src/kernel/activity/SleepImpl.cpp
+++ b/
src/kernel/activity/SleepImpl.cpp
@@
-18,22
+18,22
@@
namespace simgrid {
namespace kernel {
namespace activity {
namespace kernel {
namespace activity {
-SleepImpl
Ptr
SleepImpl::set_name(const std::string& name)
+SleepImpl
&
SleepImpl::set_name(const std::string& name)
{
ActivityImpl::set_name(name);
{
ActivityImpl::set_name(name);
- return this;
+ return
*
this;
}
}
-SleepImpl
Ptr
SleepImpl::set_host(s4u::Host* host)
+SleepImpl
&
SleepImpl::set_host(s4u::Host* host)
{
host_ = host;
{
host_ = host;
- return this;
+ return
*
this;
}
}
-SleepImpl
Ptr
SleepImpl::set_duration(double duration)
+SleepImpl
&
SleepImpl::set_duration(double duration)
{
duration_ = duration;
{
duration_ = duration;
- return this;
+ return
*
this;
}
SleepImpl* SleepImpl::start()
}
SleepImpl* SleepImpl::start()