Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finally provide a noexcept move constructor.
[simgrid.git] / src / kernel / lmm / maxmin.hpp
index 7faf61f..3a140f2 100644 (file)
@@ -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();