From: Wolfgang Bangerth Date: Wed, 12 Jul 2017 16:14:30 +0000 (-0600) Subject: Delete a constructor instead of making it private. X-Git-Tag: v9.0.0-rc1~1425^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14c468a954641e1f56f2a0ecca6220df46cf316;p=dealii.git Delete a constructor instead of making it private. --- diff --git a/include/deal.II/dofs/dof_faces.h b/include/deal.II/dofs/dof_faces.h index 338fc51f59..cdb2e536b9 100644 --- a/include/deal.II/dofs/dof_faces.h +++ b/include/deal.II/dofs/dof_faces.h @@ -67,12 +67,12 @@ namespace internal template class DoFFaces { + public: /** - * Make the constructor private to prevent the use of this template, - * only the specializations should be used + * Constructor. This constructor is deleted to prevent the use of this template, + * as only the specializations should be used */ - private: - DoFFaces(); + DoFFaces() = delete; }; /**