Added "= delete" to disabled bitwise copy constructors and assignment operators

Currently these deleted function declarations are still in the private section
of the class declarations but will be moved by hand to the public section over
time as this is too complex to automate reliably.
This commit is contained in:
Henry Weller
2019-05-28 15:26:45 +01:00
parent 11780ffae9
commit 9140984cf4
844 changed files with 2305 additions and 2219 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -81,10 +81,10 @@ class FaceCellWave
// Private Member Functions
//- Disallow default bitwise copy construct
FaceCellWave(const FaceCellWave&);
FaceCellWave(const FaceCellWave&) = delete;
//- Disallow default bitwise assignment
void operator=(const FaceCellWave&);
void operator=(const FaceCellWave&) = delete;
protected:

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -72,10 +72,10 @@ class MeshWave
// Private Member Functions
//- Disallow default bitwise copy construct
MeshWave(const MeshWave&);
MeshWave(const MeshWave&) = delete;
//- Disallow default bitwise assignment
void operator=(const MeshWave&);
void operator=(const MeshWave&) = delete;
// Private static data

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -152,10 +152,10 @@ class PatchEdgeFaceWave
void syncEdges();
//- Disallow default bitwise copy construct
PatchEdgeFaceWave(const PatchEdgeFaceWave&);
PatchEdgeFaceWave(const PatchEdgeFaceWave&) = delete;
//- Disallow default bitwise assignment
void operator=(const PatchEdgeFaceWave&);
void operator=(const PatchEdgeFaceWave&) = delete;
public:

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -210,10 +210,10 @@ class PointEdgeWave
//- Disallow default bitwise copy construct
PointEdgeWave(const PointEdgeWave&);
PointEdgeWave(const PointEdgeWave&) = delete;
//- Disallow default bitwise assignment
void operator=(const PointEdgeWave&);
void operator=(const PointEdgeWave&) = delete;
public: