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:
Mark Olesen
2018-05-30 12:03:17 +02:00
parent 6b6b36afd3
commit f9fe71815a
976 changed files with 3606 additions and 3419 deletions

View File

@ -61,7 +61,7 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
fieldSelection(const fieldSelection&) = delete;

View File

@ -59,7 +59,7 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
fileFieldSelection(const fileFieldSelection&) = delete;

View File

@ -56,7 +56,7 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
solverFieldSelection(const solverFieldSelection&) = delete;

View File

@ -56,7 +56,7 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
volFieldSelection(const volFieldSelection&) = delete;

View File

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