From: Wolfgang Bangerth Date: Thu, 22 Jun 2017 14:48:02 +0000 (-0600) Subject: Implement an empty, virtual destructor via '=default'. X-Git-Tag: v9.0.0-rc1~1475^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e9bc97667497800f6ccdfe520e07d281047e97;p=dealii.git Implement an empty, virtual destructor via '=default'. --- 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 ---------------- */