]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark constructor for CopyData as explicit
authorJean-Paul Pelteret <jppelteret@gmail.com>
Tue, 5 May 2020 20:19:57 +0000 (22:19 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Tue, 5 May 2020 21:07:42 +0000 (23:07 +0200)
include/deal.II/meshworker/copy_data.h

index 63ed18007f17d143352c4af0e846bd5e82c95806..09704eacb7c1e70039b78de897e66770ecabc879 100644 (file)
@@ -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<std::array<unsigned int, 2>, n_matrices> &matrix_sizes,
       const std::array<unsigned int, n_vectors> &                vector_sizes,
       const std::array<unsigned int, n_dof_indices> &dof_indices_sizes);

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.