]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Mark functions with override in CeresFE.
authorMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 04:05:40 +0000 (22:05 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 04:05:55 +0000 (22:05 -0600)
CeresFE/src/ceres.cc

index 43fd28a6a0d38929b881ec842d2c15aaec5f7381..92ea1e25f756fdc8a2d139207779d8299983a091 100644 (file)
@@ -214,9 +214,9 @@ namespace Step22
     }
 
     virtual double value(const Point<dim> &p,
-                         const unsigned int component = 0) const;
+                         const unsigned int component = 0) const override;
 
-    virtual void vector_value(const Point<dim> &p, Vector<double> &value) const;
+    virtual void vector_value(const Point<dim> &p, Vector<double> &value) const override;
   };
 
   template<int dim>

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.