]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark overriden methods as such.
authorDavid Wells <wellsd2@rpi.edu>
Fri, 4 May 2018 00:29:56 +0000 (20:29 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 4 May 2018 01:25:01 +0000 (21:25 -0400)
include/deal.II/base/parameter_handler.h
include/deal.II/grid/manifold.h
include/deal.II/grid/manifold_lib.h
include/deal.II/grid/tria_boundary.h

index a1e8b5681ae41452946c08b300bb8c2156042b4a..6da5c1478cdf670b58cee03d338334c7e4d0e836 100644 (file)
@@ -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 <tt>eof</tt>
index fe0f8aa23792e767cadcd800d16fb4d26f40c3ee..8fb117cd88c1032b2bd792fde7de6a4e36575652 100644 (file)
@@ -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
index 5d651f0660215830df83ffe9940139c88fbb3f7f..d8eeaa8f316a5b8bf919f0daf0b8db15073bce11 100644 (file)
@@ -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.
index d50da52db7b9a742db8a09b1bea72f74c5600585..f3c3d3e4b57073059bb32cdad985c3e283058a86 100644 (file)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.