From: Peter Munch Date: Fri, 12 Mar 2021 16:27:26 +0000 (+0100) Subject: Make constructor of DoFHandler explicit X-Git-Tag: v9.3.0-rc1~337^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11893%2Fhead;p=dealii.git Make constructor of DoFHandler explicit --- diff --git a/include/deal.II/dofs/dof_handler.h b/include/deal.II/dofs/dof_handler.h index 1043a8ea05..256ba91808 100644 --- a/include/deal.II/dofs/dof_handler.h +++ b/include/deal.II/dofs/dof_handler.h @@ -549,7 +549,7 @@ public: /** * Constructor. Take @p tria as the triangulation to work on. */ - DoFHandler(const Triangulation &tria); + explicit DoFHandler(const Triangulation &tria); /** * Copy constructor. DoFHandler objects are large and expensive.