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
/
xbt
/
future.hpp
diff --git
a/include/xbt/future.hpp
b/include/xbt/future.hpp
index
be488ed
..
521b02b
100644
(file)
--- a/
include/xbt/future.hpp
+++ b/
include/xbt/future.hpp
@@
-134,7
+134,7
@@
public:
T value = std::move(value_);
value_.~T();
status_ = ResultStatus::invalid;
- return
std::move(value)
;
+ return
value
;
}
case ResultStatus::exception: {
std::exception_ptr exception = std::move(exception_);