From: David Wells Date: Fri, 4 May 2018 00:29:56 +0000 (-0400) Subject: Mark overriden methods as such. X-Git-Tag: v9.0.0-rc1~23^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=921896cd72c1b363b085e53766b1a060e7766b69;p=dealii.git Mark overriden methods as such. --- diff --git a/include/deal.II/base/parameter_handler.h b/include/deal.II/base/parameter_handler.h index a1e8b5681a..6da5c1478c 100644 --- a/include/deal.II/base/parameter_handler.h +++ b/include/deal.II/base/parameter_handler.h @@ -1803,7 +1803,7 @@ public: * Destructor. Declare this only to have a virtual destructor, which is * safer as we have virtual functions. It actually does nothing spectacular. */ - virtual ~MultipleParameterLoop () = default; + virtual ~MultipleParameterLoop () override = default; /** * Read input from a stream until the stream returns the eof diff --git a/include/deal.II/grid/manifold.h b/include/deal.II/grid/manifold.h index fe0f8aa237..8fb117cd88 100644 --- a/include/deal.II/grid/manifold.h +++ b/include/deal.II/grid/manifold.h @@ -960,7 +960,7 @@ public: * Destructor. Does nothing here, but needs to be declared to make it * virtual. */ - virtual ~ChartManifold () = default; + virtual ~ChartManifold () override = default; /** * Refer to the general documentation of this class and the documentation of diff --git a/include/deal.II/grid/manifold_lib.h b/include/deal.II/grid/manifold_lib.h index 5d651f0660..d8eeaa8f31 100644 --- a/include/deal.II/grid/manifold_lib.h +++ b/include/deal.II/grid/manifold_lib.h @@ -522,7 +522,7 @@ public: /** * If needed, we delete the pointers we own. */ - ~FunctionManifold(); + virtual ~FunctionManifold() override; /** * Make a clone of this Manifold object. @@ -834,7 +834,7 @@ public: /** * Destructor. */ - ~TransfiniteInterpolationManifold(); + virtual ~TransfiniteInterpolationManifold() override; /** * Make a clone of this Manifold object. diff --git a/include/deal.II/grid/tria_boundary.h b/include/deal.II/grid/tria_boundary.h index d50da52db7..f3c3d3e4b5 100644 --- a/include/deal.II/grid/tria_boundary.h +++ b/include/deal.II/grid/tria_boundary.h @@ -89,7 +89,7 @@ public: * Destructor. Does nothing here, but needs to be declared to make it * virtual. */ - virtual ~Boundary () = default; + virtual ~Boundary () override = default; /** * Clone this Boundary.