From e1b8ba93ae48f0a0f4b9cb494444b0c094a39f3d Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sun, 10 Feb 2013 20:13:11 +0100
Subject: [PATCH] Use override

---
 src/timestepping.hh | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/src/timestepping.hh b/src/timestepping.hh
index 1a2db461..3146d10c 100644
--- a/src/timestepping.hh
+++ b/src/timestepping.hh
@@ -27,15 +27,15 @@ class ImplicitEuler
                 Dune::BitSetVector<dim> const &_dirichletNodes,
                 FunctionType const &_dirichletFunction);
 
-  void virtual nextTimeStep();
+  void virtual nextTimeStep() override;
   void virtual setup(VectorType const &, double, double, VectorType &,
-                     VectorType &, MatrixType &);
-  void virtual postProcess(VectorType const &);
-  void virtual extractDisplacement(VectorType &) const;
-  void virtual extractVelocity(VectorType &) const;
+                     VectorType &, MatrixType &) override;
+  void virtual postProcess(VectorType const &) override;
+  void virtual extractDisplacement(VectorType &) const override;
+  void virtual extractVelocity(VectorType &) const override;
 
-  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *
-  clone();
+  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
+      override;
 
 private:
   MatrixType const &A;
@@ -62,15 +62,15 @@ class Newmark
           Dune::BitSetVector<dim> const &_dirichletNodes,
           FunctionType const &_dirichletFunction);
 
-  void virtual nextTimeStep();
+  void virtual nextTimeStep() override;
   void virtual setup(VectorType const &, double, double, VectorType &,
-                     VectorType &, MatrixType &);
-  void virtual postProcess(VectorType const &);
-  void virtual extractDisplacement(VectorType &) const;
-  void virtual extractVelocity(VectorType &) const;
+                     VectorType &, MatrixType &) override;
+  void virtual postProcess(VectorType const &) override;
+  void virtual extractDisplacement(VectorType &) const override;
+  void virtual extractVelocity(VectorType &) const override;
 
-  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *
-  clone();
+  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
+      override;
 
 private:
   MatrixType const &A;
@@ -99,15 +99,15 @@ class EulerPair
             Dune::BitSetVector<dim> const &_dirichletNodes,
             FunctionType const &_dirichletFunction);
 
-  void virtual nextTimeStep();
+  void virtual nextTimeStep() override;
   void virtual setup(VectorType const &, double, double, VectorType &,
-                     VectorType &, MatrixType &);
-  void virtual postProcess(VectorType const &);
-  void virtual extractDisplacement(VectorType &) const;
-  void virtual extractVelocity(VectorType &) const;
+                     VectorType &, MatrixType &) override;
+  void virtual postProcess(VectorType const &) override;
+  void virtual extractDisplacement(VectorType &) const override;
+  void virtual extractVelocity(VectorType &) const override;
 
-  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *
-  clone();
+  virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
+      override;
 
 private:
   MatrixType const &A;
-- 
GitLab