From 849dffedb81931549fc1ef9da3b6ed740ec584ee Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Fri, 26 Apr 2019 14:35:55 +0200
Subject: [PATCH] COMP: define processorFvPatchField<scalar> with scoping

---
 .../processor/processorFvPatchScalarField.C       | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C
index aae847cfaa6..884eb6c957c 100644
--- a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C
+++ b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           |
+    \\  /    A nd           | Copyright (C) 2019 OpenCFD Ltd.
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
                             | Copyright (C) 2011-2017 OpenFOAM Foundation
@@ -27,15 +27,10 @@ License
 
 #include "processorFvPatchScalarField.H"
 
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-namespace Foam
-{
-
 // * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
 
 template<>
-void processorFvPatchField<scalar>::initInterfaceMatrixUpdate
+void Foam::processorFvPatchField<Foam::scalar>::initInterfaceMatrixUpdate
 (
     scalarField&,
     const bool add,
@@ -96,7 +91,7 @@ void processorFvPatchField<scalar>::initInterfaceMatrixUpdate
 
 
 template<>
-void processorFvPatchField<scalar>::updateInterfaceMatrix
+void Foam::processorFvPatchField<Foam::scalar>::updateInterfaceMatrix
 (
     scalarField& result,
     const bool add,
@@ -148,8 +143,4 @@ void processorFvPatchField<scalar>::updateInterfaceMatrix
 }
 
 
-// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-} // End namespace Foam
-
 // ************************************************************************* //
-- 
GitLab