From 6f147cf00341d1fb384b388453704e0406a04956 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 4 Oct 2010 10:34:58 +0100 Subject: [PATCH] Disabled default copy construct and op= --- .../MeshObjects/centredCFCCellToFaceStencilObject.H | 12 ++++++++++++ .../MeshObjects/upwindCFCCellToFaceStencilObject.H | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/centredCFCCellToFaceStencilObject.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/centredCFCCellToFaceStencilObject.H index f57ba737b..74dbbe529 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/centredCFCCellToFaceStencilObject.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/centredCFCCellToFaceStencilObject.H @@ -53,6 +53,18 @@ class centredCFCCellToFaceStencilObject public extendedCentredCellToFaceStencil { + // Private Member Functions + + //- Disallow default bitwise copy construct + centredCFCCellToFaceStencilObject + ( + const centredCFCCellToFaceStencilObject& + ); + + //- Disallow default bitwise assignment + void operator=(const centredCFCCellToFaceStencilObject&); + + public: TypeName("centredCFCCellToFaceStencil"); diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCFCCellToFaceStencilObject.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCFCCellToFaceStencilObject.H index e3016925c..9c5ede0dc 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCFCCellToFaceStencilObject.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/MeshObjects/upwindCFCCellToFaceStencilObject.H @@ -53,6 +53,18 @@ class upwindCFCCellToFaceStencilObject public extendedUpwindCellToFaceStencil { + // Private Member Functions + + //- Disallow default bitwise copy construct + upwindCFCCellToFaceStencilObject + ( + const upwindCFCCellToFaceStencilObject& + ); + + //- Disallow default bitwise assignment + void operator=(const upwindCFCCellToFaceStencilObject&); + + public: TypeName("upwindCFCCellToFaceStencil");