From 2d7bad2d2e0b18adc35b24fa82b34b76ae8d4157 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 20 Nov 2019 20:35:44 +0100 Subject: [PATCH] COMP: add value_type to pointPatchField --- .../pointPatchField/pointPatchField.H | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H index f6d9c51a01..d41bbeb4ae 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H @@ -54,27 +54,18 @@ SourceFiles namespace Foam { -// Forward declaration of classes +// Forward declarations class objectRegistry; class dictionary; class pointPatchFieldMapper; class pointMesh; -// Forward declaration of friend functions and operators +template class pointPatchField; +template class calculatedPointPatchField; template -class pointPatchField; - -template -class calculatedPointPatchField; - -template -Ostream& operator<< -( - Ostream&, - const pointPatchField& -); +Ostream& operator<<(Ostream&, const pointPatchField&); /*---------------------------------------------------------------------------*\ @@ -104,6 +95,7 @@ class pointPatchField public: + typedef Type value_type; typedef pointPatch Patch; typedef calculatedPointPatchField Calculated;