Commit ba85f9e7 authored by Mark Olesen's avatar Mark Olesen
Browse files

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 ...@@ -82,10 +82,10 @@ class pqFoamReaderControls
void fireCommand(vtkSMIntVectorProperty* prop, int val); void fireCommand(vtkSMIntVectorProperty* prop, int val);
//- Disallow default bitwise copy construct //- No copy construct
pqFoamReaderControls(const pqFoamReaderControls&) = delete; pqFoamReaderControls(const pqFoamReaderControls&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const pqFoamReaderControls&) = delete; void operator=(const pqFoamReaderControls&) = delete;
......
...@@ -222,10 +222,10 @@ protected: ...@@ -222,10 +222,10 @@ protected:
private: private:
//- Disallow default bitwise copy construct //- No copy construct
vtkPVFoamReader(const vtkPVFoamReader&) = delete; vtkPVFoamReader(const vtkPVFoamReader&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const vtkPVFoamReader&) = delete; void operator=(const vtkPVFoamReader&) = delete;
//- Add/remove patch names to/from the view //- Add/remove patch names to/from the view
......
...@@ -78,10 +78,10 @@ class pqFoamBlockMeshControls ...@@ -78,10 +78,10 @@ class pqFoamBlockMeshControls
void updateParts(); void updateParts();
//- Disallow default bitwise copy construct //- No copy construct
pqFoamBlockMeshControls(const pqFoamBlockMeshControls&) = delete; pqFoamBlockMeshControls(const pqFoamBlockMeshControls&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const pqFoamBlockMeshControls&) = delete; void operator=(const pqFoamBlockMeshControls&) = delete;
......
...@@ -148,10 +148,10 @@ protected: ...@@ -148,10 +148,10 @@ protected:
private: private:
//- Disallow default bitwise copy construct //- No copy construct
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete; vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const vtkPVblockMeshReader&) = delete; void operator=(const vtkPVblockMeshReader&) = delete;
//- Add/remove patch names to/from the view //- Add/remove patch names to/from the view
......
...@@ -141,10 +141,10 @@ class vtkPVblockMesh ...@@ -141,10 +141,10 @@ class vtkPVblockMesh
void convertMeshCorners(vtkMultiBlockDataSet*, int& blockNo); void convertMeshCorners(vtkMultiBlockDataSet*, int& blockNo);
//- Disallow default bitwise copy construct //- No copy construct
vtkPVblockMesh(const vtkPVblockMesh&) = delete; vtkPVblockMesh(const vtkPVblockMesh&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const vtkPVblockMesh&) = delete; void operator=(const vtkPVblockMesh&) = delete;
......
...@@ -95,11 +95,11 @@ private: ...@@ -95,11 +95,11 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
fieldVisualisationBase(const fieldVisualisationBase&); fieldVisualisationBase(const fieldVisualisationBase&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const fieldVisualisationBase&); void operator=(const fieldVisualisationBase&) = delete;
protected: protected:
......
...@@ -59,11 +59,11 @@ private: ...@@ -59,11 +59,11 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
functionObjectBase(const functionObjectBase&); functionObjectBase(const functionObjectBase&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const functionObjectBase&); void operator=(const functionObjectBase&) = delete;
protected: protected:
......
...@@ -60,10 +60,10 @@ private: ...@@ -60,10 +60,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
functionObjectCloud(const functionObjectCloud&) = delete; functionObjectCloud(const functionObjectCloud&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const functionObjectCloud&) = delete; void operator=(const functionObjectCloud&) = delete;
......
...@@ -60,10 +60,10 @@ private: ...@@ -60,10 +60,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
functionObjectLine(const functionObjectLine&) = delete; functionObjectLine(const functionObjectLine&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const functionObjectLine&) = delete; void operator=(const functionObjectLine&) = delete;
......
...@@ -61,10 +61,10 @@ private: ...@@ -61,10 +61,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
functionObjectSurface(const functionObjectSurface&) = delete; functionObjectSurface(const functionObjectSurface&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const functionObjectSurface&) = delete; void operator=(const functionObjectSurface&) = delete;
......
...@@ -82,11 +82,11 @@ private: ...@@ -82,11 +82,11 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
geometryBase(const geometryBase&); geometryBase(const geometryBase&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const geometryBase&); void operator=(const geometryBase&) = delete;
protected: protected:
......
...@@ -60,10 +60,10 @@ private: ...@@ -60,10 +60,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
geometrySurface(const geometrySurface&) = delete; geometrySurface(const geometrySurface&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const geometrySurface&) = delete; void operator=(const geometrySurface&) = delete;
......
...@@ -78,10 +78,10 @@ private: ...@@ -78,10 +78,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
pathline(const pathline&) = delete; pathline(const pathline&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const pathline&) = delete; void operator=(const pathline&) = delete;
......
...@@ -76,10 +76,10 @@ private: ...@@ -76,10 +76,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
pointData(const pointData&) = delete; pointData(const pointData&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const pointData&) = delete; void operator=(const pointData&) = delete;
......
...@@ -111,11 +111,11 @@ class scene ...@@ -111,11 +111,11 @@ class scene
const bool visible const bool visible
) const; ) const;
//- Disallow default bitwise copy construct //- No copy construct
scene(const scene&); scene(const scene&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const scene&); void operator=(const scene&) = delete;
protected: protected:
......
...@@ -81,10 +81,10 @@ private: ...@@ -81,10 +81,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
surface(const surface&) = delete; surface(const surface&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const surface&) = delete; void operator=(const surface&) = delete;
......
...@@ -77,10 +77,10 @@ private: ...@@ -77,10 +77,10 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- No copy construct
text(const text&) = delete; text(const text&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const text&) = delete; 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