Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Delete the implicitely defined move constructor.
[simgrid.git] / src / kernel / lmm / maxmin.hpp
index d2dae46..7faf61f 100644 (file)
@@ -143,6 +143,10 @@ namespace lmm {
  */
 class XBT_PUBLIC Element {
 public:
+  Element()               = default;
+  Element(const Element&) = default;
+  Element(Element&&)      = delete;
+
   int get_concurrency() const;
   void decrease_concurrency();
   void increase_concurrency();