From 0e27ca80bfc120c992d87d4fb9cd1c5ce69e920a Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Tue, 5 May 2020 22:19:57 +0200 Subject: [PATCH] Mark constructor for CopyData as explicit --- include/deal.II/meshworker/copy_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/meshworker/copy_data.h b/include/deal.II/meshworker/copy_data.h index 63ed18007f..09704eacb7 100644 --- a/include/deal.II/meshworker/copy_data.h +++ b/include/deal.II/meshworker/copy_data.h @@ -55,12 +55,12 @@ namespace MeshWorker * Initialize everything with the same @p size. This is usually the number * of local degrees of freedom. */ - CopyData(const unsigned int size); + explicit CopyData(const unsigned int size); /** * For every object, specify the size they should have. */ - CopyData( + explicit CopyData( const std::array, n_matrices> &matrix_sizes, const std::array & vector_sizes, const std::array &dof_indices_sizes); -- 2.39.5