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
Finally provide a noexcept move constructor.
[simgrid.git]
/
src
/
kernel
/
lmm
/
maxmin.hpp
diff --git
a/src/kernel/lmm/maxmin.hpp
b/src/kernel/lmm/maxmin.hpp
index
7faf61f
..
3a140f2
100644
(file)
--- a/
src/kernel/lmm/maxmin.hpp
+++ b/
src/kernel/lmm/maxmin.hpp
@@
-145,7
+145,7
@@
class XBT_PUBLIC Element {
public:
Element() = default;
Element(const Element&) = default;
- Element(Element&&
) = delete;
+ Element(Element&&
that) noexcept : Element(that) {}
int get_concurrency() const;
void decrease_concurrency();