From 2adf5d28873e0b48f8091a138de44033b5b0ec7e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 27 Dec 2023 22:21:32 -0700 Subject: [PATCH] 'explicit' on default constructors is redundant. --- include/deal.II/base/mpi.h | 2 +- include/deal.II/meshworker/copy_data.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 1bc1efea8a..5cdb0d2621 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -371,7 +371,7 @@ namespace Utilities /** * Constructor of this class. */ - explicit CollectiveMutex(); + CollectiveMutex(); /** * Destroy the mutex. Assumes the lock is not currently held. diff --git a/include/deal.II/meshworker/copy_data.h b/include/deal.II/meshworker/copy_data.h index f02186befb..d83e762b57 100644 --- a/include/deal.II/meshworker/copy_data.h +++ b/include/deal.II/meshworker/copy_data.h @@ -58,7 +58,7 @@ namespace MeshWorker * @p local_dof_indices are empty, and should be initialized using * one of the reinit() functions. */ - explicit CopyData() = default; + CopyData() = default; /** * Initialize everything with the same @p size. This is usually the number -- 2.39.5