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
Save a cast per action completion
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.cpp
diff --git
a/src/kernel/activity/SleepImpl.cpp
b/src/kernel/activity/SleepImpl.cpp
index
16e321d
..
d236948
100644
(file)
--- a/
src/kernel/activity/SleepImpl.cpp
+++ b/
src/kernel/activity/SleepImpl.cpp
@@
-33,7
+33,7
@@
SleepImpl& SleepImpl::set_duration(double duration)
SleepImpl* SleepImpl::start()
{
surf_action_ = host_->pimpl_cpu->sleep(duration_);
- surf_action_->set_
data
(this);
+ surf_action_->set_
activity
(this);
XBT_DEBUG("Create sleep synchronization %p", this);
return this;
}