From: Wolfgang Bangerth Date: Thu, 26 May 2022 03:36:14 +0000 (-0600) Subject: Provide a defaulted copy operator. X-Git-Tag: v9.4.0-rc1~143^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13831%2Fhead;p=dealii.git Provide a defaulted copy operator. --- 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