From: Wolfgang Bangerth Date: Thu, 28 Dec 2023 05:21:32 +0000 (-0700) Subject: 'explicit' on default constructors is redundant. X-Git-Tag: relicensing~220^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16389%2Fhead;p=dealii.git 'explicit' on default constructors is redundant. --- 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