From 237e42faabe80d3f159297c09835154f03e05533 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 25 Jun 2025 18:26:44 -0600 Subject: [PATCH] Mark a bunch of functions with 'override'. --- include/deal.II/base/aligned_vector.h | 2 +- include/deal.II/lac/qr.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/deal.II/base/aligned_vector.h b/include/deal.II/base/aligned_vector.h index 1ae7ebb812..cae6aa0308 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -697,7 +697,7 @@ private: * as well as a pointer to the memory being de-allocated. */ virtual void - delete_array(const AlignedVector *aligned_vector, T *ptr); + delete_array(const AlignedVector *aligned_vector, T *ptr) override; private: /** diff --git a/include/deal.II/lac/qr.h b/include/deal.II/lac/qr.h index c940ab8f3e..09d3869df4 100644 --- a/include/deal.II/lac/qr.h +++ b/include/deal.II/lac/qr.h @@ -222,7 +222,7 @@ public: * @note Currently this function always returns true. */ virtual bool - append_column(const VectorType &column); + append_column(const VectorType &column) override; /** * Remove first column and update QR factorization. @@ -257,19 +257,19 @@ public: * $\tilde R$ can be obtained by Cholesky decomposition. */ virtual void - remove_column(const unsigned int k = 0); + remove_column(const unsigned int k = 0) override; virtual void - multiply_with_Q(VectorType &y, const Vector &x) const; + multiply_with_Q(VectorType &y, const Vector &x) const override; virtual void - multiply_with_QT(Vector &y, const VectorType &x) const; + multiply_with_QT(Vector &y, const VectorType &x) const override; virtual void - multiply_with_A(VectorType &y, const Vector &x) const; + multiply_with_A(VectorType &y, const Vector &x) const override; virtual void - multiply_with_AT(Vector &y, const VectorType &x) const; + multiply_with_AT(Vector &y, const VectorType &x) const override; private: /** -- 2.39.5