Commit 4ab5b669 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Replace `VTK_DELETE_FUNCTION` with `= delete`.

parent aabe1e4b
......@@ -271,8 +271,8 @@ protected:
vtkDoubleArray* Fallback;
private:
vtkCTHDataArray(const vtkCTHDataArray&) VTK_DELETE_FUNCTION;
void operator=(const vtkCTHDataArray&) VTK_DELETE_FUNCTION;
vtkCTHDataArray(const vtkCTHDataArray&) = delete;
void operator=(const vtkCTHDataArray&) = delete;
};
#endif /* vtkCTHDataArray_h */
......@@ -92,8 +92,8 @@ protected:
void AddAttributesToAMR(vtkNonOverlappingAMR* amr);
private:
vtkCTHSource(const vtkCTHSource&) VTK_DELETE_FUNCTION;
void operator=(const vtkCTHSource&) VTK_DELETE_FUNCTION;
vtkCTHSource(const vtkCTHSource&) = delete;
void operator=(const vtkCTHSource&) = delete;
};
#endif /* vtkCTHSource_h */
......@@ -104,8 +104,8 @@ protected:
vtkPNGWriter* writer;
private:
vtkParticlePipeline(const vtkParticlePipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkParticlePipeline&) VTK_DELETE_FUNCTION;
vtkParticlePipeline(const vtkParticlePipeline&) = delete;
void operator=(const vtkParticlePipeline&) = delete;
};
#endif /* vtkParticlePipeline_H */
......@@ -96,8 +96,8 @@ protected:
}
private:
vtkCPTestPipeline(const vtkCPTestPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPTestPipeline&) VTK_DELETE_FUNCTION;
vtkCPTestPipeline(const vtkCPTestPipeline&) = delete;
void operator=(const vtkCPTestPipeline&) = delete;
};
vtkStandardNewMacro(vtkCPTestPipeline);
......
......@@ -64,8 +64,8 @@ protected:
~vtkCPImplementedTestDriver(){};
private:
vtkCPImplementedTestDriver(const vtkCPImplementedTestDriver&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPImplementedTestDriver&) VTK_DELETE_FUNCTION;
vtkCPImplementedTestDriver(const vtkCPImplementedTestDriver&) = delete;
void operator=(const vtkCPImplementedTestDriver&) = delete;
};
vtkStandardNewMacro(vtkCPImplementedTestDriver);
......
......@@ -62,7 +62,7 @@ protected:
void ComputeCellCentroid(vtkGenericCell* cell, double xyz[3]);
private:
vtkCustomUnstructuredGridBuilder(const vtkCustomUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCustomUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
vtkCustomUnstructuredGridBuilder(const vtkCustomUnstructuredGridBuilder&) = delete;
void operator=(const vtkCustomUnstructuredGridBuilder&) = delete;
};
#endif
......@@ -41,8 +41,8 @@ protected:
virtual ~vtkCPCxxHelper();
private:
vtkCPCxxHelper(const vtkCPCxxHelper&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPCxxHelper&) VTK_DELETE_FUNCTION;
vtkCPCxxHelper(const vtkCPCxxHelper&) = delete;
void operator=(const vtkCPCxxHelper&) = delete;
vtkPVOptions* Options;
......
......@@ -101,8 +101,8 @@ protected:
virtual ~vtkCPDataDescription();
private:
vtkCPDataDescription(const vtkCPDataDescription&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPDataDescription&) VTK_DELETE_FUNCTION;
vtkCPDataDescription(const vtkCPDataDescription&) = delete;
void operator=(const vtkCPDataDescription&) = delete;
/// The current simulation time. This should be set in the adaptor.
double Time;
......
......@@ -122,8 +122,8 @@ protected:
vtkDataObject* Grid;
private:
vtkCPInputDataDescription(const vtkCPInputDataDescription&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPInputDataDescription&) VTK_DELETE_FUNCTION;
vtkCPInputDataDescription(const vtkCPInputDataDescription&) = delete;
void operator=(const vtkCPInputDataDescription&) = delete;
class vtkInternals;
vtkInternals* Internals;
......
......@@ -53,8 +53,8 @@ protected:
virtual ~vtkCPPipeline();
private:
vtkCPPipeline(const vtkCPPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPipeline&) VTK_DELETE_FUNCTION;
vtkCPPipeline(const vtkCPPipeline&) = delete;
void operator=(const vtkCPPipeline&) = delete;
};
#endif
......@@ -112,8 +112,8 @@ protected:
virtual vtkObject* NewInitializationHelper();
private:
vtkCPProcessor(const vtkCPProcessor&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPProcessor&) VTK_DELETE_FUNCTION;
vtkCPProcessor(const vtkCPProcessor&) = delete;
void operator=(const vtkCPProcessor&) = delete;
vtkCPProcessorInternals* Internal;
vtkObject* InitializationHelper;
......
......@@ -57,8 +57,8 @@ protected:
~vtkPVCustomTestDriver();
private:
vtkPVCustomTestDriver(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
void operator=(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
vtkPVCustomTestDriver(const vtkPVCustomTestDriver&) = delete;
void operator=(const vtkPVCustomTestDriver&) = delete;
//@{
/**
......
......@@ -36,8 +36,8 @@ protected:
~vtkCPPythonAdaptorAPI();
private:
vtkCPPythonAdaptorAPI(const vtkCPPythonAdaptorAPI&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPythonAdaptorAPI&) VTK_DELETE_FUNCTION;
vtkCPPythonAdaptorAPI(const vtkCPPythonAdaptorAPI&) = delete;
void operator=(const vtkCPPythonAdaptorAPI&) = delete;
};
#endif
......
......@@ -65,8 +65,8 @@ protected:
vtkGetStringMacro(PythonScriptName);
private:
vtkCPPythonScriptPipeline(const vtkCPPythonScriptPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPythonScriptPipeline&) VTK_DELETE_FUNCTION;
vtkCPPythonScriptPipeline(const vtkCPPythonScriptPipeline&) = delete;
void operator=(const vtkCPPythonScriptPipeline&) = delete;
/// The name of the python script (without the path or extension)
/// that is used as the namespace of the functions of the script.
......
......@@ -52,8 +52,8 @@ protected:
~vtkCPBaseFieldBuilder();
private:
vtkCPBaseFieldBuilder(const vtkCPBaseFieldBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPBaseFieldBuilder&) VTK_DELETE_FUNCTION;
vtkCPBaseFieldBuilder(const vtkCPBaseFieldBuilder&) = delete;
void operator=(const vtkCPBaseFieldBuilder&) = delete;
};
#endif
......@@ -46,8 +46,8 @@ protected:
~vtkCPBaseGridBuilder();
private:
vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&) = delete;
void operator=(const vtkCPBaseGridBuilder&) = delete;
};
#endif
......@@ -47,8 +47,8 @@ protected:
~vtkCPCellFieldBuilder();
private:
vtkCPCellFieldBuilder(const vtkCPCellFieldBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPCellFieldBuilder&) VTK_DELETE_FUNCTION;
vtkCPCellFieldBuilder(const vtkCPCellFieldBuilder&) = delete;
void operator=(const vtkCPCellFieldBuilder&) = delete;
};
#endif
......@@ -52,8 +52,8 @@ protected:
~vtkCPConstantScalarFieldFunction();
private:
vtkCPConstantScalarFieldFunction(const vtkCPConstantScalarFieldFunction&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPConstantScalarFieldFunction&) VTK_DELETE_FUNCTION;
vtkCPConstantScalarFieldFunction(const vtkCPConstantScalarFieldFunction&) = delete;
void operator=(const vtkCPConstantScalarFieldFunction&) = delete;
//@{
/**
......
......@@ -64,8 +64,8 @@ protected:
~vtkCPFieldBuilder();
private:
vtkCPFieldBuilder(const vtkCPFieldBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPFieldBuilder&) VTK_DELETE_FUNCTION;
vtkCPFieldBuilder(const vtkCPFieldBuilder&) = delete;
void operator=(const vtkCPFieldBuilder&) = delete;
/**
* The name of the array that will be inserted into the point/cell data.
......
......@@ -81,9 +81,9 @@ protected:
virtual void SetGrid(vtkDataObject*);
private:
vtkCPFileGridBuilder(const vtkCPFileGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPFileGridBuilder(const vtkCPFileGridBuilder&) = delete;
void operator=(const vtkCPFileGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPFileGridBuilder&) = delete;
/**
* The name of the VTK file to be read.
......
......@@ -55,9 +55,9 @@ protected:
~vtkCPGridBuilder();
private:
vtkCPGridBuilder(const vtkCPGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPGridBuilder(const vtkCPGridBuilder&) = delete;
void operator=(const vtkCPGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPGridBuilder&) = delete;
//@{
/**
* The field builder for creating the input fields to the coprocessing
......
......@@ -85,8 +85,8 @@ protected:
~vtkCPLinearScalarFieldFunction();
private:
vtkCPLinearScalarFieldFunction(const vtkCPLinearScalarFieldFunction&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPLinearScalarFieldFunction&) VTK_DELETE_FUNCTION;
vtkCPLinearScalarFieldFunction(const vtkCPLinearScalarFieldFunction&) = delete;
void operator=(const vtkCPLinearScalarFieldFunction&) = delete;
/**
* The constant value for the scalar field.
......
......@@ -84,8 +84,8 @@ protected:
void SetGrid(vtkMultiBlockDataSet* multiBlock);
private:
vtkCPMultiBlockGridBuilder(const vtkCPMultiBlockGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPMultiBlockGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPMultiBlockGridBuilder(const vtkCPMultiBlockGridBuilder&) = delete;
void operator=(const vtkCPMultiBlockGridBuilder&) = delete;
/**
* The grid that is returned.
......
......@@ -42,8 +42,8 @@ protected:
~vtkCPNodalFieldBuilder();
private:
vtkCPNodalFieldBuilder(const vtkCPNodalFieldBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPNodalFieldBuilder&) VTK_DELETE_FUNCTION;
vtkCPNodalFieldBuilder(const vtkCPNodalFieldBuilder&) = delete;
void operator=(const vtkCPNodalFieldBuilder&) = delete;
};
#endif
......@@ -48,8 +48,8 @@ protected:
~vtkCPScalarFieldFunction();
private:
vtkCPScalarFieldFunction(const vtkCPScalarFieldFunction&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPScalarFieldFunction&) VTK_DELETE_FUNCTION;
vtkCPScalarFieldFunction(const vtkCPScalarFieldFunction&) = delete;
void operator=(const vtkCPScalarFieldFunction&) = delete;
};
#endif
......@@ -48,8 +48,8 @@ protected:
~vtkCPTensorFieldFunction();
private:
vtkCPTensorFieldFunction(const vtkCPTensorFieldFunction&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPTensorFieldFunction&) VTK_DELETE_FUNCTION;
vtkCPTensorFieldFunction(const vtkCPTensorFieldFunction&) = delete;
void operator=(const vtkCPTensorFieldFunction&) = delete;
};
#endif
......@@ -79,8 +79,8 @@ protected:
~vtkCPTestDriver();
private:
vtkCPTestDriver(const vtkCPTestDriver&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPTestDriver&) VTK_DELETE_FUNCTION;
vtkCPTestDriver(const vtkCPTestDriver&) = delete;
void operator=(const vtkCPTestDriver&) = delete;
/**
* The grid builder for creating the input grids to the coprocessing library.
......
......@@ -83,8 +83,8 @@ protected:
~vtkCPUniformGridBuilder();
private:
vtkCPUniformGridBuilder(const vtkCPUniformGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPUniformGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPUniformGridBuilder(const vtkCPUniformGridBuilder&) = delete;
void operator=(const vtkCPUniformGridBuilder&) = delete;
/**
* The dimensions of the vtkUniformGrid.
......
......@@ -87,8 +87,8 @@ protected:
void SetUnstructuredGrid(vtkUnstructuredGrid* grid);
private:
vtkCPUnstructuredGridBuilder(const vtkCPUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
vtkCPUnstructuredGridBuilder(const vtkCPUnstructuredGridBuilder&) = delete;
void operator=(const vtkCPUnstructuredGridBuilder&) = delete;
//@{
/**
......
......@@ -47,8 +47,8 @@ protected:
~vtkCPVector3FieldFunction();
private:
vtkCPVector3FieldFunction(const vtkCPVector3FieldFunction&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPVector3FieldFunction&) VTK_DELETE_FUNCTION;
vtkCPVector3FieldFunction(const vtkCPVector3FieldFunction&) = delete;
void operator=(const vtkCPVector3FieldFunction&) = delete;
};
#endif