]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark a bunch of functions with 'override'. 18583/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 Jun 2025 00:26:44 +0000 (18:26 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 26 Jun 2025 00:26:44 +0000 (18:26 -0600)
include/deal.II/base/aligned_vector.h
include/deal.II/lac/qr.h

index 1ae7ebb81273e6f0b2060ada2cb377d40ea841f1..cae6aa030810e7eb4ba062bf68decaf89092a4c1 100644 (file)
@@ -697,7 +697,7 @@ private:
        * as well as a pointer to the memory being de-allocated.
        */
       virtual void
-      delete_array(const AlignedVector<T> *aligned_vector, T *ptr);
+      delete_array(const AlignedVector<T> *aligned_vector, T *ptr) override;
 
     private:
       /**
index c940ab8f3ea65bc218d21ef15ae56cf45162fe50..09d3869df46dc23ec5c42d7e0401b6adef143a8d 100644 (file)
@@ -222,7 +222,7 @@ public:
    * @note Currently this function always returns <code>true</code>.
    */
   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<Number> &x) const;
+  multiply_with_Q(VectorType &y, const Vector<Number> &x) const override;
 
   virtual void
-  multiply_with_QT(Vector<Number> &y, const VectorType &x) const;
+  multiply_with_QT(Vector<Number> &y, const VectorType &x) const override;
 
   virtual void
-  multiply_with_A(VectorType &y, const Vector<Number> &x) const;
+  multiply_with_A(VectorType &y, const Vector<Number> &x) const override;
 
   virtual void
-  multiply_with_AT(Vector<Number> &y, const VectorType &x) const;
+  multiply_with_AT(Vector<Number> &y, const VectorType &x) const override;
 
 private:
   /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.