From a99cc7ea1db336e638b714185d5234ba9a781663 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 25 May 2022 21:36:14 -0600 Subject: [PATCH] Provide a defaulted copy operator. --- include/deal.II/meshworker/copy_data.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/deal.II/meshworker/copy_data.h b/include/deal.II/meshworker/copy_data.h index 0babd652ae..b50c8a973f 100644 --- a/include/deal.II/meshworker/copy_data.h +++ b/include/deal.II/meshworker/copy_data.h @@ -75,10 +75,15 @@ namespace MeshWorker const std::array &dof_indices_sizes); /** - * Deep copy constructor. + * Copy constructor. */ - CopyData(const CopyData - &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 -- 2.39.5