diff --git a/dune/solvers/iterationsteps/amgstep.hh b/dune/solvers/iterationsteps/amgstep.hh index f03fb85a05ca8c3e9f8318a5ac97e1d521215ed9..b08a9347438b0e11627dc994442845aefc617b5b 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_;