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 gcc 9 warnings. Have to check if the std::move removal is harmful
[simgrid.git]
/
include
/
simgrid
/
kernel
/
future.hpp
diff --git
a/include/simgrid/kernel/future.hpp
b/include/simgrid/kernel/future.hpp
index
7662939
..
693203a
100644
(file)
--- a/
include/simgrid/kernel/future.hpp
+++ b/
include/simgrid/kernel/future.hpp
@@
-359,7
+359,7
@@
public:
simgrid::xbt::fulfill_promise(promise, [&] { return continuation(std::move(future)); });
},
std::move(promise), state, std::move(continuation)));
- return
std::move(future)
;
+ return
future
;
}
template <class F>