Skip to content
Snippets Groups Projects
Commit 299a8fa2 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Add keyword override and make method non-virtual

parent 255a9126
Branches
No related tags found
No related merge requests found
...@@ -722,7 +722,7 @@ public: ...@@ -722,7 +722,7 @@ public:
tolerance_ = tolerance; tolerance_ = tolerance;
} }
virtual void solve(); void solve() override;
protected: protected:
/////////////////////////////////////////////////////// ///////////////////////////////////////////////////////
......
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
rhs_ = &rhs; rhs_ = &rhs;
} }
virtual void solve() void solve() override
{ {
// We may use the original rhs, but ISTL modifies it, so we need a non-const type here // We may use the original rhs, but ISTL modifies it, so we need a non-const type here
VectorType mutableRhs = *rhs_; VectorType mutableRhs = *rhs_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment