STYLE: consistent use of '= delete' for removed constructors/assignments
- make the purpose more explicit, and reduces some work for the compiler as well.
This commit is contained in:
@ -61,7 +61,7 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
//- No copy construct
|
||||
fieldSelection(const fieldSelection&) = delete;
|
||||
|
||||
|
||||
|
||||
@ -59,7 +59,7 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
//- No copy construct
|
||||
fileFieldSelection(const fileFieldSelection&) = delete;
|
||||
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
//- No copy construct
|
||||
solverFieldSelection(const solverFieldSelection&) = delete;
|
||||
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
//- No copy construct
|
||||
volFieldSelection(const volFieldSelection&) = delete;
|
||||
|
||||
|
||||
|
||||
@ -77,10 +77,10 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
//- No copy construct
|
||||
fvMeshFunctionObject(const fvMeshFunctionObject&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
//- No copy assignment
|
||||
void operator=(const fvMeshFunctionObject&) = delete;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user