From b99d2717c8ac5da971ed6014fead411b7fe1b059 Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <Ansgar.Burchardt@tu-dresden.de>
Date: Tue, 3 Jul 2018 17:08:59 +0200
Subject: [PATCH] AMGStep: use `override` keyword; use `= default` for default
 constructor

---
 dune/solvers/iterationsteps/amgstep.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dune/solvers/iterationsteps/amgstep.hh b/dune/solvers/iterationsteps/amgstep.hh
index f03fb85a..b08a9347 100644
--- a/dune/solvers/iterationsteps/amgstep.hh
+++ b/dune/solvers/iterationsteps/amgstep.hh
@@ -34,7 +34,7 @@ class AMGStep
 public:
 
     /** \brief Default constructor */
-    AMGStep () {}
+    AMGStep () = default;
 
     /** \brief Constructor which initializes and sets up an algebraic hierarchy
         \param smootherArgs  Arguments for the smoother.  See the dune-istl documentation for details
@@ -69,10 +69,10 @@ public:
 
     /** \brief Sets up an algebraic hierarchy
      */
-    virtual void preprocess();
+    void preprocess() override;
 
     /** \brief Perform one iteration */
-    virtual void iterate();
+    void iterate() override;
 
     /** \brief Arguments for the smoother.  See the dune-istl documentation for details */
     SmootherArgs smootherArgs_;
-- 
GitLab