From 40e9bc97667497800f6ccdfe520e07d281047e97 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 22 Jun 2017 08:48:02 -0600 Subject: [PATCH] Implement an empty, virtual destructor via '=default'. --- include/deal.II/dofs/dof_handler_policy.h | 2 +- source/dofs/dof_handler_policy.cc | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/include/deal.II/dofs/dof_handler_policy.h b/include/deal.II/dofs/dof_handler_policy.h index 259c5a3357..c73e78b967 100644 --- a/include/deal.II/dofs/dof_handler_policy.h +++ b/include/deal.II/dofs/dof_handler_policy.h @@ -59,7 +59,7 @@ namespace internal /** * Destructor. */ - virtual ~PolicyBase (); + virtual ~PolicyBase () = default; /** * Distribute degrees of freedom on the object given as first diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index bd3f60899a..bf859fdc18 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -908,13 +908,6 @@ namespace internal - /* --------------------- class PolicyBase ---------------- */ - - template - PolicyBase::~PolicyBase () - {} - - /* --------------------- class Sequential ---------------- */ -- 2.39.5