From 2db271b96963ede6a2758f0e2658a7333bbc0474 Mon Sep 17 00:00:00 2001 From: henry <Henry Weller h.weller@opencfd.co.uk> Date: Wed, 2 Dec 2009 16:38:38 +0000 Subject: [PATCH] Allow copy construction because crappy compilers need them. --- .../cellToFace/fullStencils/CECCellToFaceStencil.H | 9 --------- .../cellToFace/fullStencils/CFCCellToFaceStencil.H | 8 -------- .../cellToFace/fullStencils/CPCCellToFaceStencil.H | 9 --------- .../cellToFace/fullStencils/FECCellToFaceStencil.H | 7 ------- .../faceToCell/fullStencils/CFCFaceToCellStencil.H | 5 ----- 5 files changed, 38 deletions(-) diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CECCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CECCellToFaceStencil.H index 640c2aa4f47..666c4b1b5d9 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CECCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CECCellToFaceStencil.H @@ -51,15 +51,6 @@ class CECCellToFaceStencil : public cellToFaceStencil { - // Private Member Functions - - //- Disallow default bitwise copy construct - CECCellToFaceStencil(const CECCellToFaceStencil&); - - //- Disallow default bitwise assignment - void operator=(const CECCellToFaceStencil&); - - public: // Constructors diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CFCCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CFCCellToFaceStencil.H index a05b1b7aa6d..6b8dbcaedff 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CFCCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CFCCellToFaceStencil.H @@ -51,14 +51,6 @@ class CFCCellToFaceStencil : public cellToFaceStencil { - // Private Member Functions - - //- Disallow default bitwise copy construct - CFCCellToFaceStencil(const CFCCellToFaceStencil&); - - //- Disallow default bitwise assignment - void operator=(const CFCCellToFaceStencil&); - public: // Constructors diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CPCCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CPCCellToFaceStencil.H index a82886e1114..f3e996332de 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CPCCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/CPCCellToFaceStencil.H @@ -51,15 +51,6 @@ class CPCCellToFaceStencil : public cellToFaceStencil { - // Private Member Functions - - //- Disallow default bitwise copy construct - CPCCellToFaceStencil(const CPCCellToFaceStencil&); - - //- Disallow default bitwise assignment - void operator=(const CPCCellToFaceStencil&); - - public: // Constructors diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/FECCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/FECCellToFaceStencil.H index 6a00f702ea9..d08afb8bebc 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/FECCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/fullStencils/FECCellToFaceStencil.H @@ -65,13 +65,6 @@ class FECCellToFaceStencil void calcFaceStencil(labelListList& faceStencil) const; - //- Disallow default bitwise copy construct - FECCellToFaceStencil(const FECCellToFaceStencil&); - - //- Disallow default bitwise assignment - void operator=(const FECCellToFaceStencil&); - - public: // Constructors diff --git a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/fullStencils/CFCFaceToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/fullStencils/CFCFaceToCellStencil.H index 2bbf9376f43..80086262e16 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/fullStencils/CFCFaceToCellStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/fullStencils/CFCFaceToCellStencil.H @@ -56,11 +56,6 @@ class CFCFaceToCellStencil void calcCellStencil(labelListList& globalCellFaces) const; - //- Disallow default bitwise copy construct - CFCFaceToCellStencil(const CFCFaceToCellStencil&); - - //- Disallow default bitwise assignment - void operator=(const CFCFaceToCellStencil&); public: -- GitLab