]> https://gitweb.dealii.org/ - dealii.git/commitdiff
'explicit' on default constructors is redundant. 16389/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 28 Dec 2023 05:21:32 +0000 (22:21 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 28 Dec 2023 05:21:32 +0000 (22:21 -0700)
include/deal.II/base/mpi.h
include/deal.II/meshworker/copy_data.h

index 1bc1efea8a9aae74f648821a8ad87950a1753158..5cdb0d26215b796140390dcbeecc9d231d09e971 100644 (file)
@@ -371,7 +371,7 @@ namespace Utilities
       /**
        * Constructor of this class.
        */
-      explicit CollectiveMutex();
+      CollectiveMutex();
 
       /**
        * Destroy the mutex. Assumes the lock is not currently held.
index f02186befbeeaf4f644d41cd10c53448b7ed449a..d83e762b57cb36a0cad2ba6ac1f34e09f913c489 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.