From faf0dd2e35b6512b194ce9f7cfcb2a6160046428 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Fri, 30 Jun 2023 16:42:20 +0100 Subject: [PATCH] Ensure delete modifier is applied to disallowed constructors and assignment operators --- .../PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H | 2 +- .../PDRModels/XiGModels/basicXiSubG/basicXiSubG.H | 2 +- .../PDRModels/dragModels/PDRDragModel/PDRDragModel.H | 2 +- .../PDRFoam/PDRModels/dragModels/basic/basic.H | 2 +- .../PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H | 2 +- .../XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H | 2 +- .../PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H | 2 +- .../PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H | 2 +- .../XiEqModels/instabilityXiEq/instabilityXiEq.H | 2 +- .../combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H | 2 +- .../PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H | 2 +- .../XiModels/XiGModels/instabilityG/instabilityG.H | 2 +- .../legacy/combustion/PDRFoam/XiModels/XiModel/XiModel.H | 2 +- .../combustion/PDRFoam/XiModels/algebraic/algebraic.H | 2 +- .../legacy/combustion/PDRFoam/XiModels/fixed/fixed.H | 2 +- .../combustion/PDRFoam/XiModels/transport/transport.H | 2 +- .../incompressibleInterPhaseTransportModel.H | 2 +- .../PVReaders/PVFoamReader/vtk/vtkPVFoamReader.h | 6 +++--- .../PVblockMeshReader/vtk/vtkPVblockMeshReader.h | 6 +++--- .../containers/Lists/IndirectList/IndirectList.H | 6 +++--- .../db/dictionary/dictionaryEntry/dictionaryEntry.H | 4 ++-- .../dictionary/dictionaryListEntry/dictionaryListEntry.H | 4 ++-- src/OpenFOAM/db/regIOobject/regIOobject.H | 4 ++-- src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H | 4 ++-- src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H | 4 ++-- .../eagerGAMGProcAgglomeration.H | 4 ++-- .../manualGAMGProcAgglomeration.H | 4 ++-- .../masterCoarsestGAMGProcAgglomeration.H | 9 ++++----- .../noneGAMGProcAgglomeration.H | 4 ++-- .../procFacesGAMGProcAgglomeration.H | 4 ++-- .../processorCyclicGAMGInterfaceField.H | 4 ++-- src/OpenFOAM/memory/refCount/refCount.H | 6 +++--- .../meshes/pointMesh/pointMeshMapper/pointPatchMapper.H | 4 ++-- .../pointPatches/basic/coupled/coupledPointPatch.H | 6 +++--- .../pointPatches/constraint/cyclic/cyclicPointPatch.H | 6 +++--- .../constraint/processor/processorPointPatch.H | 6 +++--- .../processorCyclic/processorCyclicPointPatch.H | 6 +++--- .../pointPatches/derived/coupled/coupledFacePointPatch.H | 6 +++--- src/OpenFOAM/meshes/polyMesh/zones/MeshZones/MeshZones.H | 4 ++-- src/combustionModels/FSD/FSD.H | 2 +- src/combustionModels/PaSR/PaSR.H | 2 +- .../infinitelyFastChemistry/infinitelyFastChemistry.H | 4 ++-- src/combustionModels/laminar/laminar.H | 2 +- src/combustionModels/noCombustion/noCombustion.H | 2 +- src/combustionModels/zoneCombustion/zoneCombustion.H | 2 +- src/conversion/ensight/file/ensightFile.H | 4 ++-- src/conversion/ensight/file/ensightGeoFile.H | 4 ++-- .../componentDisplacementMotionSolver.H | 4 ++-- .../componentVelocity/componentVelocityMotionSolver.H | 4 ++-- .../displacementLayeredMotionMotionSolver.H | 4 ++-- .../linearSolver/displacementLinearMotionMotionSolver.H | 4 ++-- .../interpolatingSolidBodyMotionSolver.H | 4 ++-- .../solidBody/solidBodyMotionFunctions/SDA/SDA.H | 2 +- .../axisRotationMotion/axisRotationMotion.H | 4 ++-- .../solidBodyMotionFunctions/linearMotion/linearMotion.H | 4 ++-- .../solidBodyMotionFunctions/multiMotion/multiMotion.H | 4 ++-- .../oscillatingLinearMotion/oscillatingLinearMotion.H | 4 ++-- .../oscillatingRotatingMotion.H | 4 ++-- .../rotatingMotion/rotatingMotion.H | 4 ++-- .../solidBodyMotionFunctions/sixDoFMotion/sixDoFMotion.H | 4 ++-- .../motionSolvers/velocity/velocityMotionSolver.H | 4 ++-- src/fileFormats/vtk/vtkUnstructuredReader.H | 4 ++-- .../finiteVolume/d2dt2Schemes/d2dt2Scheme/d2dt2Scheme.H | 4 ++-- .../finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H | 2 +- src/finiteVolume/finiteVolume/fvSolution/fvSolution.H | 4 ++-- .../finiteVolume/gradSchemes/gradScheme/gradScheme.H | 4 ++-- .../laplacianSchemes/laplacianScheme/laplacianScheme.H | 4 ++-- .../snGradSchemes/snGradScheme/snGradScheme.H | 4 ++-- .../cellToCell/extendedCentredCellToCellStencil.H | 4 ++-- .../cellToFace/extendedCentredCellToFaceStencil.H | 4 ++-- .../faceToCell/extendedCentredFaceToCellStencil.H | 4 ++-- src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H | 4 ++-- src/finiteVolume/fvMesh/fvMesh.H | 2 +- src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H | 4 ++-- src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H | 4 ++-- .../limitedSurfaceInterpolationScheme.H | 4 ++-- .../multivariateSurfaceInterpolationScheme.H | 4 ++-- .../surfaceInterpolationScheme.H | 2 +- .../effectivenessHeatExchangerSource.H | 2 +- .../interRegionExplicitPorositySource.H | 2 +- .../SBRStress/displacementSBRStressFvMotionSolver.H | 4 ++-- .../laplacian/displacementLaplacianFvMotionSolver.H | 4 ++-- .../velocity/laplacian/velocityLaplacianFvMotionSolver.H | 4 ++-- .../energyScalingFunction/basic/energyScalingFunction.H | 4 ++-- .../potential/pairPotential/basic/pairPotential.H | 4 ++-- .../potential/tetherPotential/basic/tetherPotential.H | 4 ++-- .../externalDisplacementMeshMover.H | 2 +- src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H | 4 ++-- src/surfMesh/surfMesh/surfMesh.H | 4 ++-- .../barotropicCompressibilityModel.H | 7 +++++-- 90 files changed, 165 insertions(+), 163 deletions(-) diff --git a/applications/legacy/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H b/applications/legacy/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H index 7b4c4dddb2..0d58b31c68 100644 --- a/applications/legacy/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H +++ b/applications/legacy/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H @@ -110,7 +110,7 @@ public: ); //- Disallow default bitwise copy construction - basicSubGrid(const basicSubGrid&); + basicSubGrid(const basicSubGrid&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H b/applications/legacy/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H index eca70f0294..31a884a597 100644 --- a/applications/legacy/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H +++ b/applications/legacy/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H @@ -98,7 +98,7 @@ public: ); //- Disallow default bitwise copy construction - basicSubGrid(const basicSubGrid&); + basicSubGrid(const basicSubGrid&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H b/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H index 88e4a16a46..0b65ab84f9 100644 --- a/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H +++ b/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H @@ -113,7 +113,7 @@ public: ); //- Disallow default bitwise copy construction - PDRDragModel(const PDRDragModel&); + PDRDragModel(const PDRDragModel&) = delete; // Selectors diff --git a/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H b/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H index 13997634cd..187ea5a5af 100644 --- a/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H +++ b/applications/legacy/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H @@ -125,7 +125,7 @@ public: ); //- Disallow default bitwise copy construction - basic(const basic&); + basic(const basic&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H index 34fc00aab0..e495d1f17f 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H @@ -86,7 +86,7 @@ public: ); //- Disallow default bitwise copy construction - Gulder(const Gulder&); + Gulder(const Gulder&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H index 5fab5a9cd4..3f100fe7db 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H @@ -82,7 +82,7 @@ public: ); //- Disallow default bitwise copy construction - SCOPEBlend(const SCOPEBlend&); + SCOPEBlend(const SCOPEBlend&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H index 7434fc8c8d..aac9861e72 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H @@ -100,7 +100,7 @@ public: ); //- Disallow default bitwise copy construction - SCOPEXiEq(const SCOPEXiEq&); + SCOPEXiEq(const SCOPEXiEq&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H index 7be3c74a49..ac29e4be6e 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H @@ -115,7 +115,7 @@ public: ); //- Disallow default bitwise copy construction - XiEqModel(const XiEqModel&); + XiEqModel(const XiEqModel&) = delete; // Selectors diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H index c7d668d507..b96217b3fe 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H @@ -81,7 +81,7 @@ public: ); //- Disallow default bitwise copy construction - instability(const instability&); + instability(const instability&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H index 73ebadf67d..e7bc66d0ec 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H @@ -76,7 +76,7 @@ public: ); //- Disallow default bitwise copy construction - KTS(const KTS&); + KTS(const KTS&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H index 01a1596397..ac050b3ac6 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H @@ -106,7 +106,7 @@ public: ); //- Disallow default bitwise copy construction - XiGModel(const XiGModel&); + XiGModel(const XiGModel&) = delete; // Selectors diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H index 0bfef0f10e..a0c8d0b6a3 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H @@ -85,7 +85,7 @@ public: ); //- Disallow default bitwise copy construction - instabilityG(const instabilityG&); + instabilityG(const instabilityG&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/XiModel/XiModel.H b/applications/legacy/combustion/PDRFoam/XiModels/XiModel/XiModel.H index 9a2f2ff682..e553c819ce 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/XiModel/XiModel.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/XiModel/XiModel.H @@ -175,7 +175,7 @@ public: ); //- Disallow default bitwise copy construction - XiModel(const XiModel&); + XiModel(const XiModel&) = delete; // Selectors diff --git a/applications/legacy/combustion/PDRFoam/XiModels/algebraic/algebraic.H b/applications/legacy/combustion/PDRFoam/XiModels/algebraic/algebraic.H index 5bb0542aa9..80ca3e00e6 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/algebraic/algebraic.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/algebraic/algebraic.H @@ -86,7 +86,7 @@ public: ); //- Disallow default bitwise copy construction - algebraic(const algebraic&); + algebraic(const algebraic&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/fixed/fixed.H b/applications/legacy/combustion/PDRFoam/XiModels/fixed/fixed.H index 7d1c649287..55c5296863 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/fixed/fixed.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/fixed/fixed.H @@ -74,7 +74,7 @@ public: ); //- Disallow default bitwise copy construction - fixed(const fixed&); + fixed(const fixed&) = delete; //- Destructor diff --git a/applications/legacy/combustion/PDRFoam/XiModels/transport/transport.H b/applications/legacy/combustion/PDRFoam/XiModels/transport/transport.H index 5757a0a4fa..25408fe418 100644 --- a/applications/legacy/combustion/PDRFoam/XiModels/transport/transport.H +++ b/applications/legacy/combustion/PDRFoam/XiModels/transport/transport.H @@ -86,7 +86,7 @@ public: ); //- Disallow default bitwise copy construction - transport(const transport&); + transport(const transport&) = delete; //- Destructor diff --git a/applications/modules/incompressibleVoF/incompressibleInterPhaseTransportModel/incompressibleInterPhaseTransportModel.H b/applications/modules/incompressibleVoF/incompressibleInterPhaseTransportModel/incompressibleInterPhaseTransportModel.H index efe5326684..5355ff7bfd 100644 --- a/applications/modules/incompressibleVoF/incompressibleInterPhaseTransportModel/incompressibleInterPhaseTransportModel.H +++ b/applications/modules/incompressibleVoF/incompressibleInterPhaseTransportModel/incompressibleInterPhaseTransportModel.H @@ -102,7 +102,7 @@ public: incompressibleInterPhaseTransportModel ( const incompressibleInterPhaseTransportModel& - ); + ) = delete; // Member Functions diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtk/vtkPVFoamReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtk/vtkPVFoamReader.h index b1d79fa3d8..7877e52234 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtk/vtkPVFoamReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtk/vtkPVFoamReader.h @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -205,10 +205,10 @@ protected: private: //- Disallow default bitwise copy construct - vtkPVFoamReader(const vtkPVFoamReader&); + vtkPVFoamReader(const vtkPVFoamReader&) = delete; //- Disallow default bitwise assignment - void operator=(const vtkPVFoamReader&); + void operator=(const vtkPVFoamReader&) = delete; //- Add/remove patch names to/from the view void updatePatchNamesView(const bool show); diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtk/vtkPVblockMeshReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtk/vtkPVblockMeshReader.h index 65e40586f8..b559b91691 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtk/vtkPVblockMeshReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtk/vtkPVblockMeshReader.h @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -144,10 +144,10 @@ protected: private: //- Disallow default bitwise copy construct - vtkPVblockMeshReader(const vtkPVblockMeshReader&); + vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete; //- Disallow default bitwise assignment - void operator=(const vtkPVblockMeshReader&); + void operator=(const vtkPVblockMeshReader&) = delete; //- Add/remove point numbers to/from the view void updatePointNumbersView(const bool show); diff --git a/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H b/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H index a526a5d8b3..a4609e4fde 100644 --- a/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H +++ b/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -107,10 +107,10 @@ class IndirectList // Private Member Functions //- Disallow default bitwise assignment - void operator=(const IndirectList&); + void operator=(const IndirectList&) = delete; //- Disallow assignment from UIndirectList - void operator=(const UIndirectList&); + void operator=(const UIndirectList&) = delete; public: diff --git a/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H b/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H index ea8c559390..0b34903ecd 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H +++ b/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -72,7 +72,7 @@ class dictionaryEntry void readData(Istream&); //- Disallow bitwise copy - dictionaryEntry(const dictionary&); + dictionaryEntry(const dictionary&) = delete; public: diff --git a/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H b/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H index 093bdf8d92..2a9ccc0b4b 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H +++ b/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -70,7 +70,7 @@ class dictionaryListEntry static label realSize(const dictionary&); //- Disallow bitwise copy - dictionaryListEntry(const dictionary&); + dictionaryListEntry(const dictionary&) = delete; public: diff --git a/src/OpenFOAM/db/regIOobject/regIOobject.H b/src/OpenFOAM/db/regIOobject/regIOobject.H index c9572bcde2..bac7b4d2ad 100644 --- a/src/OpenFOAM/db/regIOobject/regIOobject.H +++ b/src/OpenFOAM/db/regIOobject/regIOobject.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,7 +78,7 @@ class regIOobject Istream& readStream(const bool read = true); //- Disallow assignment - void operator=(const regIOobject&); + void operator=(const regIOobject&) = delete; protected: diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H index 99f3167d0a..5c0b31469a 100644 --- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H +++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -72,7 +72,7 @@ class procLduInterface // Private Member Functions //- Disallow construction as copy - procLduInterface(const procLduInterface&); + procLduInterface(const procLduInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H index d92e1313cb..ab986be2c7 100644 --- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H +++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -74,7 +74,7 @@ class procLduMatrix // Private Member Functions //- Disallow construction as copy - procLduMatrix(const procLduMatrix&); + procLduMatrix(const procLduMatrix&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H index 758fc3af0e..8d35a0a2cb 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ public: eagerGAMGProcAgglomeration ( const eagerGAMGProcAgglomeration& - ); + ) = delete; //- Destructor diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H index eaf1c14ae0..ba298d6ef5 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -106,7 +106,7 @@ public: manualGAMGProcAgglomeration ( const manualGAMGProcAgglomeration& - ); + ) = delete; //- Destructor diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H index dd7e2eb5b9..ec855aa196 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -77,7 +77,7 @@ public: masterCoarsestGAMGProcAgglomeration ( const masterCoarsestGAMGProcAgglomeration& - ); + ) = delete; //- Destructor @@ -86,14 +86,13 @@ public: // Member Functions - //- Modify agglomeration. Return true if modified + //- Modify agglomeration. Return true if modified virtual bool agglomerate(); - //- Disallow default bitwise assignment - // Member Operators + //- Disallow default bitwise assignment void operator=(const masterCoarsestGAMGProcAgglomeration&) = delete; }; diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H index 8261b57b53..1c695ec291 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -73,7 +73,7 @@ public: noneGAMGProcAgglomeration ( const noneGAMGProcAgglomeration& - ); + ) = delete; //- Destructor diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H index edde2de3cb..aa1e602a04 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -107,7 +107,7 @@ public: procFacesGAMGProcAgglomeration ( const procFacesGAMGProcAgglomeration& - ); + ) = delete; //- Destructor diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H index 4a1446ff9c..ceaecdbd75 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -56,7 +56,7 @@ class processorCyclicGAMGInterfaceField processorCyclicGAMGInterfaceField ( const processorCyclicGAMGInterfaceField& - ); + ) = delete; //- Disallow default bitwise assignment void operator=(const processorCyclicGAMGInterfaceField&) = delete; diff --git a/src/OpenFOAM/memory/refCount/refCount.H b/src/OpenFOAM/memory/refCount/refCount.H index 6651f4540e..1056440dc2 100644 --- a/src/OpenFOAM/memory/refCount/refCount.H +++ b/src/OpenFOAM/memory/refCount/refCount.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -57,10 +57,10 @@ class refCount // Private Member Functions //- Disallow copy - refCount(const refCount&); + refCount(const refCount&) = delete; //- Disallow bitwise assignment - void operator=(const refCount&); + void operator=(const refCount&) = delete; protected: diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H index 91e2747f17..b4960e28f2 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -111,7 +111,7 @@ public: pointPatchMapper ( const pointPatchMapper& - ); + ) = delete; //- Destructor diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H index 7ae9eae6f6..987bf3ba54 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -54,10 +54,10 @@ class coupledPointPatch // Private Member Functions //- Disallow default bitwise copy construction - coupledPointPatch(const coupledPointPatch&); + coupledPointPatch(const coupledPointPatch&) = delete; //- Disallow default bitwise assignment - void operator=(const coupledPointPatch&); + void operator=(const coupledPointPatch&) = delete; protected: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H index e58f02da0b..f4432ae112 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -61,10 +61,10 @@ class cyclicPointPatch // Private Member Functions //- Disallow default bitwise copy construction - cyclicPointPatch(const cyclicPointPatch&); + cyclicPointPatch(const cyclicPointPatch&) = delete; //- Disallow default bitwise assignment - void operator=(const cyclicPointPatch&); + void operator=(const cyclicPointPatch&) = delete; // Demand driven private data diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H index 3369fa0a73..83a883978f 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -88,10 +88,10 @@ class processorPointPatch //- Disallow default bitwise copy construction - processorPointPatch(const processorPointPatch&); + processorPointPatch(const processorPointPatch&) = delete; //- Disallow default bitwise assignment - void operator=(const processorPointPatch&); + void operator=(const processorPointPatch&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H index 8d5fa90423..30f8476c20 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,10 +64,10 @@ class processorCyclicPointPatch const processorCyclicPolyPatch& procCycPolyPatch_; //- Disallow default bitwise copy construction - processorCyclicPointPatch(const processorCyclicPointPatch&); + processorCyclicPointPatch(const processorCyclicPointPatch&) = delete; //- Disallow default bitwise assignment - void operator=(const processorCyclicPointPatch&); + void operator=(const processorCyclicPointPatch&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H index 0b4b15c854..ef0bcda947 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -64,10 +64,10 @@ class coupledFacePointPatch // Private Member Functions //- Disallow default bitwise copy construction - coupledFacePointPatch(const coupledFacePointPatch&); + coupledFacePointPatch(const coupledFacePointPatch&) = delete; //- Disallow default bitwise assignment - void operator=(const coupledFacePointPatch&); + void operator=(const coupledFacePointPatch&) = delete; protected: diff --git a/src/OpenFOAM/meshes/polyMesh/zones/MeshZones/MeshZones.H b/src/OpenFOAM/meshes/polyMesh/zones/MeshZones/MeshZones.H index e2952ec183..9022c7dc0a 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/MeshZones/MeshZones.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/MeshZones/MeshZones.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -80,7 +80,7 @@ class MeshZones bool read(); //- Disallow default bitwise assignment - void operator=(const MeshZones&); + void operator=(const MeshZones&) = delete; //- Create zone map diff --git a/src/combustionModels/FSD/FSD.H b/src/combustionModels/FSD/FSD.H index 4bf87f5c8c..810eebf559 100644 --- a/src/combustionModels/FSD/FSD.H +++ b/src/combustionModels/FSD/FSD.H @@ -138,7 +138,7 @@ public: ); //- Disallow default bitwise copy construction - FSD(const FSD&); + FSD(const FSD&) = delete; //- Destructor diff --git a/src/combustionModels/PaSR/PaSR.H b/src/combustionModels/PaSR/PaSR.H index 43d26156d6..031080b38e 100644 --- a/src/combustionModels/PaSR/PaSR.H +++ b/src/combustionModels/PaSR/PaSR.H @@ -83,7 +83,7 @@ public: ); //- Disallow default bitwise copy construction - PaSR(const PaSR&); + PaSR(const PaSR&) = delete; //- Destructor diff --git a/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H b/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H index feb475ad3c..c7844fada0 100644 --- a/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H +++ b/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,7 +78,7 @@ public: ); //- Disallow default bitwise copy construction - infinitelyFastChemistry(const infinitelyFastChemistry&); + infinitelyFastChemistry(const infinitelyFastChemistry&) = delete; //- Destructor diff --git a/src/combustionModels/laminar/laminar.H b/src/combustionModels/laminar/laminar.H index 2150a83bde..362967a5bc 100644 --- a/src/combustionModels/laminar/laminar.H +++ b/src/combustionModels/laminar/laminar.H @@ -96,7 +96,7 @@ public: ); //- Disallow default bitwise copy construction - laminar(const laminar&); + laminar(const laminar&) = delete; //- Destructor diff --git a/src/combustionModels/noCombustion/noCombustion.H b/src/combustionModels/noCombustion/noCombustion.H index 796e20d993..9e3205fd6a 100644 --- a/src/combustionModels/noCombustion/noCombustion.H +++ b/src/combustionModels/noCombustion/noCombustion.H @@ -70,7 +70,7 @@ public: ); //- Disallow default bitwise copy construction - noCombustion(const noCombustion&); + noCombustion(const noCombustion&) = delete; //- Destructor diff --git a/src/combustionModels/zoneCombustion/zoneCombustion.H b/src/combustionModels/zoneCombustion/zoneCombustion.H index f66d70f316..6efaa78e92 100644 --- a/src/combustionModels/zoneCombustion/zoneCombustion.H +++ b/src/combustionModels/zoneCombustion/zoneCombustion.H @@ -92,7 +92,7 @@ public: ); //- Disallow default bitwise copy construction - zoneCombustion(const zoneCombustion&); + zoneCombustion(const zoneCombustion&) = delete; //- Destructor diff --git a/src/conversion/ensight/file/ensightFile.H b/src/conversion/ensight/file/ensightFile.H index 620b974695..d6578a3c75 100644 --- a/src/conversion/ensight/file/ensightFile.H +++ b/src/conversion/ensight/file/ensightFile.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -76,7 +76,7 @@ public: ); //- Disallow default bitwise copy construction - ensightFile(const ensightFile&); + ensightFile(const ensightFile&) = delete; //- Destructor diff --git a/src/conversion/ensight/file/ensightGeoFile.H b/src/conversion/ensight/file/ensightGeoFile.H index 52c1ddf0b8..be01149d7f 100644 --- a/src/conversion/ensight/file/ensightGeoFile.H +++ b/src/conversion/ensight/file/ensightGeoFile.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -59,7 +59,7 @@ public: ); //- Disallow default bitwise copy construction - ensightGeoFile(const ensightGeoFile&); + ensightGeoFile(const ensightGeoFile&) = delete; diff --git a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H index d289d4d3cd..5099811416 100644 --- a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -102,7 +102,7 @@ public: componentDisplacementMotionSolver ( const componentDisplacementMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H b/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H index b5f74a013a..dcbc8acce3 100644 --- a/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -99,7 +99,7 @@ public: componentVelocityMotionSolver ( const componentVelocityMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H index c98e49c7c3..a8d60effda 100644 --- a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -131,7 +131,7 @@ public: displacementLayeredMotionMotionSolver ( const displacementLayeredMotionMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/dynamicMesh/motionSolvers/displacement/linearSolver/displacementLinearMotionMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/linearSolver/displacementLinearMotionMotionSolver.H index bb2184d77b..95e543c8cb 100644 --- a/src/dynamicMesh/motionSolvers/displacement/linearSolver/displacementLinearMotionMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/linearSolver/displacementLinearMotionMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -110,7 +110,7 @@ public: displacementLinearMotionMotionSolver ( const displacementLinearMotionMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/interpolatingSolidBodyMotionSolver/interpolatingSolidBodyMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/interpolatingSolidBodyMotionSolver/interpolatingSolidBodyMotionSolver.H index 5c4ff514a0..85ec58f829 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/interpolatingSolidBodyMotionSolver/interpolatingSolidBodyMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/interpolatingSolidBodyMotionSolver/interpolatingSolidBodyMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -98,7 +98,7 @@ public: interpolatingSolidBodyMotionSolver ( const interpolatingSolidBodyMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H index 173686c9b3..f2f24a355b 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H @@ -110,7 +110,7 @@ public: ); //- Disallow default bitwise copy construction - SDA(const SDA&); + SDA(const SDA&) = delete; //- Construct and return a clone diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H index ebbf8a1f3e..201650e0f1 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -80,7 +80,7 @@ public: ); //- Disallow default bitwise copy construction - axisRotationMotion(const axisRotationMotion&); + axisRotationMotion(const axisRotationMotion&) = delete; //- Construct and return a clone virtual autoPtr clone() const diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H index 258a9ebe4d..4588cafe9f 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -76,7 +76,7 @@ public: ); //- Disallow default bitwise copy construction - linearMotion(const linearMotion&); + linearMotion(const linearMotion&) = delete; //- Construct and return a clone diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H index 332bf15642..6a40c69307 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -76,7 +76,7 @@ public: ); //- Disallow default bitwise copy construction - multiMotion(const multiMotion&); + multiMotion(const multiMotion&) = delete; //- Construct and return a clone virtual autoPtr clone() const diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H index 8a1f916189..13912b4a13 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -79,7 +79,7 @@ public: ); //- Disallow default bitwise copy construction - oscillatingLinearMotion(const oscillatingLinearMotion&); + oscillatingLinearMotion(const oscillatingLinearMotion&) = delete; //- Construct and return a clone virtual autoPtr clone() const diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H index a30618fdc0..cb41f31af4 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ public: ); //- Disallow default bitwise copy construction - oscillatingRotatingMotion(const oscillatingRotatingMotion&); + oscillatingRotatingMotion(const oscillatingRotatingMotion&) = delete; //- Construct and return a clone virtual autoPtr clone() const diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H index 205454e1c6..bc8a9ee6c5 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -85,7 +85,7 @@ public: ); //- Disallow default bitwise copy construction - rotatingMotion(const rotatingMotion&); + rotatingMotion(const rotatingMotion&) = delete; //- Construct and return a clone diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/sixDoFMotion/sixDoFMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/sixDoFMotion/sixDoFMotion.H index 9be61037e3..2ae1f37982 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/sixDoFMotion/sixDoFMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/sixDoFMotion/sixDoFMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -92,7 +92,7 @@ public: ); //- Disallow default bitwise copy construction - sixDoFMotion(const sixDoFMotion&); + sixDoFMotion(const sixDoFMotion&) = delete; //- Construct and return a clone diff --git a/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H b/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H index eb786f49c4..74fc67cf8f 100644 --- a/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -85,7 +85,7 @@ public: velocityMotionSolver ( const velocityMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/fileFormats/vtk/vtkUnstructuredReader.H b/src/fileFormats/vtk/vtkUnstructuredReader.H index f194c71240..0f98600d4f 100644 --- a/src/fileFormats/vtk/vtkUnstructuredReader.H +++ b/src/fileFormats/vtk/vtkUnstructuredReader.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -228,7 +228,7 @@ private: void read(ISstream& inFile); //- Disallow assignment - void operator=(const vtkUnstructuredReader&); + void operator=(const vtkUnstructuredReader&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/d2dt2Schemes/d2dt2Scheme/d2dt2Scheme.H b/src/finiteVolume/finiteVolume/d2dt2Schemes/d2dt2Scheme/d2dt2Scheme.H index 79d769f8a4..a574d7f690 100644 --- a/src/finiteVolume/finiteVolume/d2dt2Schemes/d2dt2Scheme/d2dt2Scheme.H +++ b/src/finiteVolume/finiteVolume/d2dt2Schemes/d2dt2Scheme/d2dt2Scheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -107,7 +107,7 @@ public: {} //- Disallow default bitwise copy construction - d2dt2Scheme(const d2dt2Scheme&); + d2dt2Scheme(const d2dt2Scheme&) = delete; // Selectors diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H index 1d15c565aa..c5c8f084da 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtScheme.H @@ -107,7 +107,7 @@ public: {} //- Disallow default bitwise copy construction - ddtScheme(const ddtScheme&); + ddtScheme(const ddtScheme&) = delete; // Selectors diff --git a/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H b/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H index e529291e89..94ed6cf8d3 100644 --- a/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H +++ b/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -66,7 +66,7 @@ public: // Member Operators //- Disallow default bitwise assignment - void operator=(const fvSolution&); + void operator=(const fvSolution&) = delete; }; diff --git a/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.H b/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.H index 102d441b6d..d622fd74d1 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -70,7 +70,7 @@ class gradScheme // Private Member Functions //- Disallow default bitwise copy construction - gradScheme(const gradScheme&); + gradScheme(const gradScheme&) = delete; //- Disallow default bitwise assignment void operator=(const gradScheme&) = delete; diff --git a/src/finiteVolume/finiteVolume/laplacianSchemes/laplacianScheme/laplacianScheme.H b/src/finiteVolume/finiteVolume/laplacianSchemes/laplacianScheme/laplacianScheme.H index c827bb4e8b..5d3b0dcb2b 100644 --- a/src/finiteVolume/finiteVolume/laplacianSchemes/laplacianScheme/laplacianScheme.H +++ b/src/finiteVolume/finiteVolume/laplacianSchemes/laplacianScheme/laplacianScheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -82,7 +82,7 @@ private: // Private Member Functions //- Disallow default bitwise copy construction - laplacianScheme(const laplacianScheme&); + laplacianScheme(const laplacianScheme&) = delete; //- Disallow default bitwise assignment void operator=(const laplacianScheme&) = delete; diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.H b/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.H index 03395989ae..250f1a2946 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/snGradScheme/snGradScheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -95,7 +95,7 @@ public: {} //- Disallow default bitwise copy construction - snGradScheme(const snGradScheme&); + snGradScheme(const snGradScheme&) = delete; // Selectors diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H index 68dab25b31..1e1a8af0d5 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -72,7 +72,7 @@ public: extendedCentredCellToCellStencil ( const extendedCentredCellToCellStencil& - ); + ) = delete; // Member Functions diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H index 35a99b6ec4..f680353c53 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -71,7 +71,7 @@ public: extendedCentredCellToFaceStencil ( const extendedCentredCellToFaceStencil& - ); + ) = delete; // Member Functions diff --git a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H index b32832f7b5..18490a12cc 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -71,7 +71,7 @@ public: extendedCentredFaceToCellStencil ( const extendedCentredFaceToCellStencil& - ); + ) = delete; // Member Functions diff --git a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H index 6983a189aa..dce987f729 100644 --- a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H +++ b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -138,7 +138,7 @@ public: // Member Operators //- Disallow default bitwise assignment - void operator=(const fvBoundaryMesh&); + void operator=(const fvBoundaryMesh&) = delete; }; diff --git a/src/finiteVolume/fvMesh/fvMesh.H b/src/finiteVolume/fvMesh/fvMesh.H index d32d6baeea..d5e97cba72 100644 --- a/src/finiteVolume/fvMesh/fvMesh.H +++ b/src/finiteVolume/fvMesh/fvMesh.H @@ -640,7 +640,7 @@ public: // Member Operators //- Disallow default bitwise assignment - void operator=(const fvMesh&); + void operator=(const fvMesh&) = delete; bool operator!=(const fvMesh&) const; bool operator==(const fvMesh&) const; diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H b/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H index 97da05e96b..0baa306b50 100644 --- a/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H +++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -109,7 +109,7 @@ public: fvPatchMapper ( const fvPatchMapper& - ); + ) = delete; //- Destructor diff --git a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H index b25da4cf62..ee1377f816 100644 --- a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H +++ b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H @@ -115,7 +115,7 @@ public: fvPatch(const polyPatch&, const fvBoundaryMesh&); //- Disallow default bitwise copy construction - fvPatch(const fvPatch&); + fvPatch(const fvPatch&) = delete; // Selectors @@ -268,7 +268,7 @@ public: // Member Operators //- Disallow default bitwise assignment - void operator=(const fvPatch&); + void operator=(const fvPatch&) = delete; }; diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H index 81bd1ed266..25b5327eb0 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -129,7 +129,7 @@ public: limitedSurfaceInterpolationScheme ( const limitedSurfaceInterpolationScheme& - ); + ) = delete; // Selectors diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.H index 7b67777a25..d0e745d293 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationScheme.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -121,7 +121,7 @@ public: multivariateSurfaceInterpolationScheme ( const multivariateSurfaceInterpolationScheme& - ); + ) = delete; // Selectors diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.H index 42941cd1b7..5bf5363f9d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/surfaceInterpolationScheme/surfaceInterpolationScheme.H @@ -106,7 +106,7 @@ public: {} //- Disallow default bitwise copy construction - surfaceInterpolationScheme(const surfaceInterpolationScheme&); + surfaceInterpolationScheme(const surfaceInterpolationScheme&) = delete; diff --git a/src/fvModels/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H b/src/fvModels/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H index 50ec67f40f..bb9c07dea6 100644 --- a/src/fvModels/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H +++ b/src/fvModels/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H @@ -195,7 +195,7 @@ public: effectivenessHeatExchangerSource ( const effectivenessHeatExchangerSource& - ); + ) = delete; //- Destructor diff --git a/src/fvModels/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H b/src/fvModels/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H index c291ab59f9..1e8af43fdf 100644 --- a/src/fvModels/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H +++ b/src/fvModels/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H @@ -122,7 +122,7 @@ public: interRegionExplicitPorositySource ( const interRegionExplicitPorositySource& - ); + ) = delete; //- Destructor diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H index 13f2b6d5f7..cb5602a5c5 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -85,7 +85,7 @@ public: displacementSBRStressFvMotionSolver ( const displacementSBRStressFvMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H index 635f6f85eb..427cebd93a 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -93,7 +93,7 @@ public: displacementLaplacianFvMotionSolver ( const displacementLaplacianFvMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H index 7706085725..5b63925762 100644 --- a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -85,7 +85,7 @@ public: velocityLaplacianFvMotionSolver ( const velocityLaplacianFvMotionSolver& - ); + ) = delete; //- Destructor diff --git a/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H b/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H index f835284c6c..c3d5de2bbf 100644 --- a/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H +++ b/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -108,7 +108,7 @@ public: ); //- Disallow default bitwise copy construction - energyScalingFunction(const energyScalingFunction&); + energyScalingFunction(const energyScalingFunction&) = delete; //- Destructor diff --git a/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H b/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H index f88d220d08..fba9c75140 100644 --- a/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H +++ b/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -125,7 +125,7 @@ public: ); //- Disallow default bitwise copy construction - pairPotential(const pairPotential&); + pairPotential(const pairPotential&) = delete; //- Destructor diff --git a/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H b/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H index 9b2ce6ae21..25c7bf17db 100644 --- a/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H +++ b/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -92,7 +92,7 @@ public: ); //- Disallow default bitwise copy construction - tetherPotential(const tetherPotential&); + tetherPotential(const tetherPotential&) = delete; // Selectors diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H index 1813110f62..1be7579ba2 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H @@ -104,7 +104,7 @@ public: externalDisplacementMeshMover ( const externalDisplacementMeshMover& - ); + ) = delete; // Selectors diff --git a/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H b/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H index 4712aa0728..20458e7a89 100644 --- a/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H +++ b/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -122,7 +122,7 @@ public: ); //- Disallow default bitwise copy construction - rigidBodyMotion(const rigidBodyMotion&); + rigidBodyMotion(const rigidBodyMotion&) = delete; //- Destructor diff --git a/src/surfMesh/surfMesh/surfMesh.H b/src/surfMesh/surfMesh/surfMesh.H index d8a0b2e143..c81ff0b577 100644 --- a/src/surfMesh/surfMesh/surfMesh.H +++ b/src/surfMesh/surfMesh/surfMesh.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -161,7 +161,7 @@ public: ); //- Disallow default bitwise copy construction - surfMesh(const surfMesh&); + surfMesh(const surfMesh&) = delete; //- Destructor diff --git a/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H b/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H index f40c418cff..2aedf0cdc1 100644 --- a/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H +++ b/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -104,7 +104,10 @@ public: ); //- Disallow default bitwise copy construction - barotropicCompressibilityModel(const barotropicCompressibilityModel&); + barotropicCompressibilityModel + ( + const barotropicCompressibilityModel& + ) = delete; // Selectors