From: Wolfgang Bangerth Date: Thu, 26 Jun 2025 00:26:44 +0000 (-0600) Subject: Mark a bunch of functions with 'override'. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=237e42faabe80d3f159297c09835154f03e05533;p=dealii.git Mark a bunch of functions with 'override'. --- 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: /**