From: Wolfgang Bangerth Date: Tue, 22 Aug 2017 16:54:22 +0000 (-0600) Subject: Mark a destructor '=default'. X-Git-Tag: v9.0.0-rc1~1175^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636f25e79b25ebaf66f23d22945573631c4fcdb0;p=dealii.git Mark a destructor '=default'. --- diff --git a/include/deal.II/lac/vector_memory.h b/include/deal.II/lac/vector_memory.h index 9dd0e4fe79..ee8b4c344d 100644 --- a/include/deal.II/lac/vector_memory.h +++ b/include/deal.II/lac/vector_memory.h @@ -74,10 +74,11 @@ class VectorMemory : public Subscriptor public: /** - * Virtual destructor is needed as there are virtual functions in this + * Virtual destructor. This destructor is declared @p virtual to allow + * destroying objects of derived type through pointers to this base * class. */ - virtual ~VectorMemory () {} + virtual ~VectorMemory () = default; /** * Return a pointer to a new vector. The number of elements or their