Disabled default copy construct and op=

This commit is contained in:
Hrvoje Jasak 2010-10-04 10:34:58 +01:00
parent 0e884662cf
commit 6f147cf003
2 changed files with 24 additions and 0 deletions

View file

@ -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");

View file

@ -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");