]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide a defaulted copy operator. 13831/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 May 2022 03:36:14 +0000 (21:36 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 May 2022 03:36:14 +0000 (21:36 -0600)
include/deal.II/meshworker/copy_data.h

index 0babd652aea24c06a360ce2de15f9ab7c2001526..b50c8a973fd88170388b9071061abc4f757f6792 100644 (file)
@@ -75,10 +75,15 @@ namespace MeshWorker
       const std::array<unsigned int, n_dof_indices> &dof_indices_sizes);
 
     /**
-     * Deep copy constructor.
+     * Copy constructor.
      */
-    CopyData(const CopyData<n_matrices, n_vectors, n_dof_indices, ScalarType>
-               &other) = default;
+    CopyData(const CopyData &other) = default;
+
+    /**
+     * Copy operator.
+     */
+    CopyData &
+    operator=(const CopyData &other) = default;
 
     /**
      * Reinitialize everything the same @p size. This is usually the number of

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.