]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make constructor of DoFHandler explicit 11893/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 12 Mar 2021 16:27:26 +0000 (17:27 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 12 Mar 2021 16:27:26 +0000 (17:27 +0100)
include/deal.II/dofs/dof_handler.h

index 1043a8ea05a061c8a4c7261e7f77073dda28cfa0..256ba91808aa4f9e09c69777bc72de329077a496 100644 (file)
@@ -549,7 +549,7 @@ public:
   /**
    * Constructor. Take @p tria as the triangulation to work on.
    */
-  DoFHandler(const Triangulation<dim, spacedim> &tria);
+  explicit DoFHandler(const Triangulation<dim, spacedim> &tria);
 
   /**
    * Copy constructor. DoFHandler objects are large and expensive.

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.