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;