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

@ -82,10 +82,10 @@ class pqFoamReaderControls
void fireCommand(vtkSMIntVectorProperty* prop, int val);
//- Disallow default bitwise copy construct
//- No copy construct
pqFoamReaderControls(const pqFoamReaderControls&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const pqFoamReaderControls&) = delete;

View File

@ -222,10 +222,10 @@ protected:
private:
//- Disallow default bitwise copy construct
//- No copy construct
vtkPVFoamReader(const vtkPVFoamReader&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const vtkPVFoamReader&) = delete;
//- Add/remove patch names to/from the view

View File

@ -78,10 +78,10 @@ class pqFoamBlockMeshControls
void updateParts();
//- Disallow default bitwise copy construct
//- No copy construct
pqFoamBlockMeshControls(const pqFoamBlockMeshControls&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const pqFoamBlockMeshControls&) = delete;

View File

@ -148,10 +148,10 @@ protected:
private:
//- Disallow default bitwise copy construct
//- No copy construct
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const vtkPVblockMeshReader&) = delete;
//- Add/remove patch names to/from the view

View File

@ -141,10 +141,10 @@ class vtkPVblockMesh
void convertMeshCorners(vtkMultiBlockDataSet*, int& blockNo);
//- Disallow default bitwise copy construct
//- No copy construct
vtkPVblockMesh(const vtkPVblockMesh&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const vtkPVblockMesh&) = delete;