Commit 1ac2c008 authored by Kitware Robot's avatar Kitware Robot Committed by Robert Maynard

Replace VTK_DELETE_FUNCTION with =delete.

Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
wrap =delete;
parent c94345fc

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -46,8 +46,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmAverageToCells(const vtkmAverageToCells&) VTK_DELETE_FUNCTION;
void operator=(const vtkmAverageToCells&) VTK_DELETE_FUNCTION;
vtkmAverageToCells(const vtkmAverageToCells&) = delete;
void operator=(const vtkmAverageToCells&) = delete;
};
#endif // vtkmAverageToCells_h
......
......@@ -46,8 +46,8 @@ protected:
vtkInformationVector *) override;
private:
vtkmAverageToPoints(const vtkmAverageToPoints&) VTK_DELETE_FUNCTION;
void operator=(const vtkmAverageToPoints&) VTK_DELETE_FUNCTION;
vtkmAverageToPoints(const vtkmAverageToPoints&) = delete;
void operator=(const vtkmAverageToPoints&) = delete;
};
#endif // vtkmAverageToPoints_h
......
......@@ -62,8 +62,8 @@ protected:
bool CompactPoints;
private:
vtkmCleanGrid(const vtkmCleanGrid&) VTK_DELETE_FUNCTION;
void operator=(const vtkmCleanGrid&) VTK_DELETE_FUNCTION;
vtkmCleanGrid(const vtkmCleanGrid&) = delete;
void operator=(const vtkmCleanGrid&) = delete;
};
#endif // vtkmCleanGrid_h
......
......@@ -80,8 +80,8 @@ protected:
tovtkm::ImplicitFunctionConverter ClipFunctionConverter;
private:
vtkmClip(const vtkmClip&) VTK_DELETE_FUNCTION;
void operator=(const vtkmClip&) VTK_DELETE_FUNCTION;
vtkmClip(const vtkmClip&) = delete;
void operator=(const vtkmClip&) = delete;
};
#endif // vtkmClip_h
......
......@@ -51,8 +51,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmContour(const vtkmContour&) VTK_DELETE_FUNCTION;
void operator=(const vtkmContour&) VTK_DELETE_FUNCTION;
vtkmContour(const vtkmContour&) = delete;
void operator=(const vtkmContour&) = delete;
};
#endif // vtkmContour_h
......
......@@ -76,8 +76,8 @@ protected:
bool CompactPoints;
private:
vtkmExternalFaces(const vtkmExternalFaces&) VTK_DELETE_FUNCTION;
void operator=(const vtkmExternalFaces&) VTK_DELETE_FUNCTION;
vtkmExternalFaces(const vtkmExternalFaces&) = delete;
void operator=(const vtkmExternalFaces&) = delete;
};
#endif // vtkmExternalFaces_h
......
......@@ -54,8 +54,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmExtractVOI(const vtkmExtractVOI&) VTK_DELETE_FUNCTION;
void operator=(const vtkmExtractVOI&) VTK_DELETE_FUNCTION;
vtkmExtractVOI(const vtkmExtractVOI&) = delete;
void operator=(const vtkmExtractVOI&) = delete;
};
#endif // vtkmExtractVOI_h
......
......@@ -52,8 +52,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmGradient(const vtkmGradient&) VTK_DELETE_FUNCTION;
void operator=(const vtkmGradient&) VTK_DELETE_FUNCTION;
vtkmGradient(const vtkmGradient&) = delete;
void operator=(const vtkmGradient&) = delete;
};
#endif // vtkmGradient_h
......
......@@ -93,8 +93,8 @@ protected:
private:
int NumberOfDivisions[3];
vtkmLevelOfDetail(const vtkmLevelOfDetail&) VTK_DELETE_FUNCTION;
void operator=(const vtkmLevelOfDetail&) VTK_DELETE_FUNCTION;
vtkmLevelOfDetail(const vtkmLevelOfDetail&) = delete;
void operator=(const vtkmLevelOfDetail&) = delete;
};
#endif // vtkmLevelOfDetail_h
......
......@@ -60,8 +60,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmPolyDataNormals(const vtkmPolyDataNormals&) VTK_DELETE_FUNCTION;
void operator=(const vtkmPolyDataNormals&) VTK_DELETE_FUNCTION;
vtkmPolyDataNormals(const vtkmPolyDataNormals&) = delete;
void operator=(const vtkmPolyDataNormals&) = delete;
};
#endif // vtkmPolyDataNormals_h
......
......@@ -50,8 +50,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmThreshold(const vtkmThreshold&) VTK_DELETE_FUNCTION;
void operator=(const vtkmThreshold&) VTK_DELETE_FUNCTION;
vtkmThreshold(const vtkmThreshold&) = delete;
void operator=(const vtkmThreshold&) = delete;
};
#endif // vtkmThreshold_h
......
......@@ -66,8 +66,8 @@ protected:
vtkInformationVector*) override;
private:
vtkmTriangleMeshPointNormals(const vtkmTriangleMeshPointNormals&) VTK_DELETE_FUNCTION;
void operator=(const vtkmTriangleMeshPointNormals&) VTK_DELETE_FUNCTION;
vtkmTriangleMeshPointNormals(const vtkmTriangleMeshPointNormals&) = delete;
void operator=(const vtkmTriangleMeshPointNormals&) = delete;
};
#endif // vtkmTriangleMeshPointNormals_h
......
......@@ -35,8 +35,8 @@ protected:
@vtk-module@ObjectFactory();
private:
@vtk-module@ObjectFactory(const @vtk-module@ObjectFactory&) VTK_DELETE_FUNCTION;
void operator=(const @vtk-module@ObjectFactory&) VTK_DELETE_FUNCTION;
@vtk-module@ObjectFactory(const @vtk-module@ObjectFactory&) = delete;
void operator=(const @vtk-module@ObjectFactory&) = delete;
};
#endif // __@vtk-module@ObjectFactory_h
......@@ -767,8 +767,8 @@ protected:
vtkTimeStamp BuildTime;
private:
vtkAxis(const vtkAxis &) VTK_DELETE_FUNCTION;
void operator=(const vtkAxis &) VTK_DELETE_FUNCTION;
vtkAxis(const vtkAxis &) = delete;
void operator=(const vtkAxis &) = delete;
/**
* Return true if the value is in range, false otherwise.
......
......@@ -135,6 +135,6 @@ protected:
bool IsAxisVertical;
private:
vtkAxisExtended(const vtkAxisExtended&) VTK_DELETE_FUNCTION;
void operator=(const vtkAxisExtended&) VTK_DELETE_FUNCTION;
vtkAxisExtended(const vtkAxisExtended&) = delete;
void operator=(const vtkAxisExtended&) = delete;
};
......@@ -113,8 +113,8 @@ protected:
vtkVariantArray* Values;
private:
vtkCategoryLegend(const vtkCategoryLegend &) VTK_DELETE_FUNCTION;
void operator=(const vtkCategoryLegend &) VTK_DELETE_FUNCTION;
vtkCategoryLegend(const vtkCategoryLegend &) = delete;
void operator=(const vtkCategoryLegend &) = delete;
};
#endif
......@@ -476,8 +476,8 @@ protected:
MouseClickActions ActionsClick;
private:
vtkChart(const vtkChart &) VTK_DELETE_FUNCTION;
void operator=(const vtkChart &) VTK_DELETE_FUNCTION;
vtkChart(const vtkChart &) = delete;
void operator=(const vtkChart &) = delete;
};
#endif //vtkChart_h
......@@ -223,8 +223,8 @@ protected:
vtkPlot *plot, vtkIdType &segmentIndex);
private:
vtkChartBox(const vtkChartBox &) VTK_DELETE_FUNCTION;
void operator=(const vtkChartBox &) VTK_DELETE_FUNCTION;
vtkChartBox(const vtkChartBox &) = delete;
void operator=(const vtkChartBox &) = delete;
};
......
......@@ -81,8 +81,8 @@ protected:
bool UpdateLayout(vtkContext2D *painter) override;
private:
vtkChartHistogram2D(const vtkChartHistogram2D &) VTK_DELETE_FUNCTION;
void operator=(const vtkChartHistogram2D &) VTK_DELETE_FUNCTION;
vtkChartHistogram2D(const vtkChartHistogram2D &) = delete;
void operator=(const vtkChartHistogram2D &) = delete;
};
#endif //vtkChartHistogram2D_h
......@@ -311,8 +311,8 @@ protected:
Private* Storage;
private:
vtkChartLegend(const vtkChartLegend &) VTK_DELETE_FUNCTION;
void operator=(const vtkChartLegend &) VTK_DELETE_FUNCTION;
vtkChartLegend(const vtkChartLegend &) = delete;
void operator=(const vtkChartLegend &) = delete;
};
#endif //vtkChartLegend_h
......@@ -161,8 +161,8 @@ protected:
bool LayoutIsDirty;
private:
vtkChartMatrix(const vtkChartMatrix &) VTK_DELETE_FUNCTION;