From 99f31a75f0111e0fcf6bc934ba2a6456a4a684eb Mon Sep 17 00:00:00 2001
From: Andrew Heather <a.heather@opencfd.co.uk>
Date: Thu, 18 May 2017 12:40:48 +0100
Subject: [PATCH] COMP: Removed override directives to remove compiler warnings

---
 .../regionFunctionObject/regionFunctionObject.H        |  2 +-
 .../fieldValues/surfaceFieldValue/surfaceFieldValue.H  |  6 +++---
 .../field/fieldValues/volFieldValue/volFieldValue.H    |  4 ++--
 .../surfMeshSamplers/surfMeshSamplers.H                | 10 +++++-----
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H b/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H
index df56087e8a4..03ab4436786 100644
--- a/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H
+++ b/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H
@@ -176,7 +176,7 @@ public:
     // Member Functions
 
         //- Read optional controls
-        virtual bool read(const dictionary& dict) override;
+        virtual bool read(const dictionary& dict);
 };
 
 
diff --git a/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.H b/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.H
index 062d13e7c8a..8a5113bc3ca 100644
--- a/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.H
+++ b/src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.H
@@ -324,7 +324,7 @@ protected:
     // Protected Member Functions
 
         //- The volume mesh or surface registry being used
-        const objectRegistry& obr() const override;
+        const objectRegistry& obr() const;
 
         //- Return the local list of face IDs
         inline const labelList& faceId() const;
@@ -471,10 +471,10 @@ public:
         inline fileName outputDir() const;
 
         //- Read from dictionary
-        virtual bool read(const dictionary& dict) override;
+        virtual bool read(const dictionary& dict);
 
         //- Calculate and write
-        virtual bool write() override;
+        virtual bool write();
 };
 
 
diff --git a/src/functionObjects/field/fieldValues/volFieldValue/volFieldValue.H b/src/functionObjects/field/fieldValues/volFieldValue/volFieldValue.H
index 709988f2bc9..64f2f1d0ddb 100644
--- a/src/functionObjects/field/fieldValues/volFieldValue/volFieldValue.H
+++ b/src/functionObjects/field/fieldValues/volFieldValue/volFieldValue.H
@@ -255,10 +255,10 @@ public:
     // Public Member Functions
 
         //- Read from dictionary
-        virtual bool read(const dictionary& dict) override;
+        virtual bool read(const dictionary& dict);
 
         //- Calculate and write
-        virtual bool write() override;
+        virtual bool write();
 };
 
 
diff --git a/src/sampling/surfMeshSampler/surfMeshSamplers/surfMeshSamplers.H b/src/sampling/surfMeshSampler/surfMeshSamplers/surfMeshSamplers.H
index 5befc3388f2..3a93104d4cd 100644
--- a/src/sampling/surfMeshSampler/surfMeshSamplers/surfMeshSamplers.H
+++ b/src/sampling/surfMeshSampler/surfMeshSamplers/surfMeshSamplers.H
@@ -192,19 +192,19 @@ public:
         void verbose(const bool verbosity = true);
 
         //- Read the surfMeshSamplers dictionary
-        virtual bool read(const dictionary&) override;
+        virtual bool read(const dictionary&);
 
         //- Execute, does sampling
-        virtual bool execute() override;
+        virtual bool execute();
 
         //- Write sampled values
-        virtual bool write() override;
+        virtual bool write();
 
         //- Update for changes of mesh - expires the surfaces
-        virtual void updateMesh(const mapPolyMesh&) override;
+        virtual void updateMesh(const mapPolyMesh&);
 
         //- Update for mesh point-motion - expires the surfaces
-        virtual void movePoints(const polyMesh&) override;
+        virtual void movePoints(const polyMesh&);
 
         //- Update for changes of mesh due to readUpdate - expires the surfaces
         virtual void readUpdate(const polyMesh::readUpdateState state);
-- 
GitLab