Commit ba85f9e7 authored by Mark Olesen's avatar Mark Olesen

STYLE: consistent use of '= delete' for removed constructors/assignments

- make the purpose more explicit, and reduces some work for the
  compiler as well.
parent 2c5cdebe
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
......@@ -95,11 +95,11 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
fieldVisualisationBase(const fieldVisualisationBase&);
//- No copy construct
fieldVisualisationBase(const fieldVisualisationBase&) = delete;
//- Disallow default bitwise assignment
void operator=(const fieldVisualisationBase&);
//- No copy assignment
void operator=(const fieldVisualisationBase&) = delete;
protected:
......
......@@ -59,11 +59,11 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
functionObjectBase(const functionObjectBase&);
//- No copy construct
functionObjectBase(const functionObjectBase&) = delete;
//- Disallow default bitwise assignment
void operator=(const functionObjectBase&);
//- No copy assignment
void operator=(const functionObjectBase&) = delete;
protected:
......
......@@ -60,10 +60,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
functionObjectCloud(const functionObjectCloud&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const functionObjectCloud&) = delete;
......
......@@ -60,10 +60,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
functionObjectLine(const functionObjectLine&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const functionObjectLine&) = delete;
......
......@@ -61,10 +61,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
functionObjectSurface(const functionObjectSurface&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const functionObjectSurface&) = delete;
......
......@@ -82,11 +82,11 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
geometryBase(const geometryBase&);
//- No copy construct
geometryBase(const geometryBase&) = delete;
//- Disallow default bitwise assignment
void operator=(const geometryBase&);
//- No copy assignment
void operator=(const geometryBase&) = delete;
protected:
......
......@@ -60,10 +60,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
geometrySurface(const geometrySurface&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const geometrySurface&) = delete;
......
......@@ -78,10 +78,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
pathline(const pathline&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const pathline&) = delete;
......
......@@ -76,10 +76,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
pointData(const pointData&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const pointData&) = delete;
......
......@@ -111,11 +111,11 @@ class scene
const bool visible
) const;
//- Disallow default bitwise copy construct
scene(const scene&);
//- No copy construct
scene(const scene&) = delete;
//- Disallow default bitwise assignment
void operator=(const scene&);
//- No copy assignment
void operator=(const scene&) = delete;
protected:
......
......@@ -81,10 +81,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
surface(const surface&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const surface&) = delete;
......
......@@ -77,10 +77,10 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construct
//- No copy construct
text(const text&) = delete;
//- Disallow default bitwise assignment
//- No copy assignment
void operator=(const text&) = delete;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment