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
fix the instructions on how to use local installs of python bindings
[simgrid.git]
/
src
/
plugins
/
task.cpp
diff --git
a/src/plugins/task.cpp
b/src/plugins/task.cpp
index c84f83dd44dcb58a11936c1375cbe4342968eda4..dca0c9013d3ebb4cc02321a032447eb96b31b563 100644
(file)
--- a/
src/plugins/task.cpp
+++ b/
src/plugins/task.cpp
@@
-82,6
+82,8
@@
void Task::complete()
count_++;
on_this_end_(this);
Task::on_end(this);
+ if (current_activity_)
+ previous_activity_ = std::move(current_activity_);
for (auto const& t : successors_)
t->receive(this);
if (ready_to_run())