]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix FESystem move constrcutor
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 10 Jan 2020 22:03:01 +0000 (17:03 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 13 Jan 2020 21:29:12 +0000 (14:29 -0700)
include/deal.II/fe/fe_system.h

index cb5777bb36f5b9813e5c971a9cb2d706f8eef292..8cec8ab34c862300020851888e73761bfff9487b 100644 (file)
@@ -529,7 +529,13 @@ public:
   /**
    * Move constructor.
    */
-  FESystem(FESystem<dim, spacedim> &&) = default; // NOLINT
+  FESystem(FESystem<dim, spacedim> &&other_fe_system)
+    : FiniteElement<dim, spacedim>(std::move(other_fe_system))
+  {
+    base_elements = std::move(other_fe_system.base_elements);
+    generalized_support_points_index_table =
+      std::move(other_fe_system.generalized_support_points_index_table);
+  }
 
   /**
    * Destructor.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.