From b14c468a954641e1f56f2a0ecca6220df46cf316 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 12 Jul 2017 10:14:30 -0600 Subject: [PATCH] Delete a constructor instead of making it private. --- include/deal.II/dofs/dof_faces.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }; /** -- 2.39.5