From: Marc Fehling Date: Thu, 27 Apr 2023 06:17:24 +0000 (-0600) Subject: Mark functions with override. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F92%2Fhead;p=code-gallery.git Mark functions with override. --- diff --git a/Distributed_Moving_Laser_Heating/boundaryInit.h b/Distributed_Moving_Laser_Heating/boundaryInit.h index 2e53f41..a1a192b 100644 --- a/Distributed_Moving_Laser_Heating/boundaryInit.h +++ b/Distributed_Moving_Laser_Heating/boundaryInit.h @@ -20,7 +20,7 @@ public: BoundaryValues () : Function() {} virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; template @@ -30,7 +30,7 @@ public: InitialValues () : Function() {} virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; @@ -67,7 +67,7 @@ public: RhoC () : Function() {} virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; template @@ -98,7 +98,7 @@ public: K_T () : Function() {} virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; template