From: Timo Heister Date: Mon, 27 Apr 2020 19:08:04 +0000 (-0400) Subject: remove empty virtual destructors X-Git-Tag: v9.2.0-rc1~169^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9970%2Fhead;p=dealii.git remove empty virtual destructors reported by clang-tidy. part of #9933 --- diff --git a/include/deal.II/lac/eigen.h b/include/deal.II/lac/eigen.h index 98aad3d939..dbce5b09fb 100644 --- a/include/deal.II/lac/eigen.h +++ b/include/deal.II/lac/eigen.h @@ -85,10 +85,6 @@ public: VectorMemory &mem, const AdditionalData & data = AdditionalData()); - /** - * Virtual destructor. - */ - virtual ~EigenPower(); /** * Power method. @p x is the (not necessarily normalized, but nonzero) start @@ -176,12 +172,6 @@ public: VectorMemory &mem, const AdditionalData & data = AdditionalData()); - - /** - * Virtual destructor. - */ - virtual ~EigenInverse(); - /** * Inverse method. @p value is the start guess for the eigenvalue and @p x * is the (not necessarily normalized, but nonzero) start vector for the @@ -214,12 +204,6 @@ EigenPower::EigenPower(SolverControl & cn, -template -EigenPower::~EigenPower() -{} - - - template template void @@ -303,12 +287,6 @@ EigenInverse::EigenInverse(SolverControl & cn, -template -EigenInverse::~EigenInverse() -{} - - - template template void diff --git a/include/deal.II/lac/solver_fire.h b/include/deal.II/lac/solver_fire.h index ed81ce5826..0ef873e6c6 100644 --- a/include/deal.II/lac/solver_fire.h +++ b/include/deal.II/lac/solver_fire.h @@ -135,11 +135,6 @@ public: SolverFIRE(SolverControl & solver_control, const AdditionalData &data = AdditionalData()); - /** - * Virtual destructor. - */ - virtual ~SolverFIRE(); - /** * Obtain a set of variables @p x that minimize an objective function * described by the polymorphic function wrapper @p compute, with a given @@ -229,12 +224,6 @@ SolverFIRE::SolverFIRE(SolverControl & solver_control, -template -SolverFIRE::~SolverFIRE() -{} - - - template template void diff --git a/include/deal.II/lac/solver_relaxation.h b/include/deal.II/lac/solver_relaxation.h index 0c26ae5d7c..34e497774f 100644 --- a/include/deal.II/lac/solver_relaxation.h +++ b/include/deal.II/lac/solver_relaxation.h @@ -72,11 +72,6 @@ public: SolverRelaxation(SolverControl & cn, const AdditionalData &data = AdditionalData()); - /** - * Virtual destructor. - */ - virtual ~SolverRelaxation(); - /** * Solve the system $Ax = b$ using the relaxation method $x_{k+1} = * R(x_k,b)$. The matrix A itself is only used to compute the @@ -100,11 +95,6 @@ SolverRelaxation::SolverRelaxation(SolverControl &cn, -template -SolverRelaxation::~SolverRelaxation() -{} - - template template void