From: Bruno Turcksin Date: Fri, 1 Aug 2014 22:56:16 +0000 (-0500) Subject: Add empty virtual destructors for TimeStepping and RungeKutta. X-Git-Tag: v8.2.0-rc1~235^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9638ee1d08b2ad8c75f1bab99f71920d55874523;p=dealii.git Add empty virtual destructors for TimeStepping and RungeKutta. --- diff --git a/include/deal.II/base/time_stepping.h b/include/deal.II/base/time_stepping.h index 31639ebd31..6d656e6fa0 100644 --- a/include/deal.II/base/time_stepping.h +++ b/include/deal.II/base/time_stepping.h @@ -78,6 +78,11 @@ namespace TimeStepping class TimeStepping { public: + /** + * Virtual destructor. + */ + virtual ~TimeStepping() {}; + /** * Purely virtual function. This function is used to advance from time @p * t to t+ @p delta_t. @p F is a vector of functions \f$ f(t,y) \f$ that should be @@ -119,6 +124,11 @@ namespace TimeStepping class RungeKutta : public TimeStepping { public: + /** + * Virtual destructor. + */ + virtual ~RungeKutta() {}; + /** * Purely virtual method used to initialize the Runge-Kutta method. */