Commit 4341301a authored by Ben Boeckel's avatar Ben Boeckel

HeaderTest: use VTK_DELETE_FUNCTION for ctor and assignment operators

parent 1559b201
Pipeline #19690 passed with stage
......@@ -53,8 +53,8 @@ protected slots:
void showWelcomeDialog();
private:
ParaViewMainWindow(const ParaViewMainWindow&); // Not implemented.
void operator=(const ParaViewMainWindow&); // Not implemented.
ParaViewMainWindow(const ParaViewMainWindow&) VTK_DELETE_FUNCTION;
void operator=(const ParaViewMainWindow&) VTK_DELETE_FUNCTION;
class pqInternals;
pqInternals* Internals;
......
......@@ -276,8 +276,8 @@ protected:
// A writeable version of this array, delegated.
vtkDoubleArray *Fallback;
private:
vtkCTHDataArray (const vtkCTHDataArray&); // Not implemented
void operator= (const vtkCTHDataArray&); // Not implemented
vtkCTHDataArray (const vtkCTHDataArray&) VTK_DELETE_FUNCTION;
void operator= (const vtkCTHDataArray&) VTK_DELETE_FUNCTION;
};
#endif /* vtkCTHDataArray_h */
......@@ -102,8 +102,8 @@ protected:
void AddAttributesToAMR (vtkNonOverlappingAMR* amr);
private:
vtkCTHSource (const vtkCTHSource&); // Not implemented
void operator = (const vtkCTHSource&); // Not implemented
vtkCTHSource (const vtkCTHSource&) VTK_DELETE_FUNCTION;
void operator = (const vtkCTHSource&) VTK_DELETE_FUNCTION;
};
#endif /* vtkCTHSource_h */
......@@ -104,8 +104,8 @@ protected:
vtkPNGWriter* writer;
private:
vtkParticlePipeline (const vtkParticlePipeline&); // Not implemented
void operator= (const vtkParticlePipeline&); // Not implemented
vtkParticlePipeline (const vtkParticlePipeline&) VTK_DELETE_FUNCTION;
void operator= (const vtkParticlePipeline&) VTK_DELETE_FUNCTION;
};
......
......@@ -98,8 +98,8 @@ namespace
}
private:
vtkCPTestPipeline(const vtkCPTestPipeline&); // Not implemented
void operator=(const vtkCPTestPipeline&); // Not implemented
vtkCPTestPipeline(const vtkCPTestPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPTestPipeline&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(vtkCPTestPipeline);
......
......@@ -65,8 +65,8 @@ protected:
~vtkCPImplementedTestDriver() {};
private:
vtkCPImplementedTestDriver(const vtkCPImplementedTestDriver&); // Not implemented
void operator=(const vtkCPImplementedTestDriver&); // Not implemented
vtkCPImplementedTestDriver(const vtkCPImplementedTestDriver&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPImplementedTestDriver&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(vtkCPImplementedTestDriver);
......
......@@ -56,7 +56,7 @@ protected:
void ComputeCellCentroid(vtkGenericCell* cell, double xyz[3]);
private:
vtkCustomUnstructuredGridBuilder(const vtkCustomUnstructuredGridBuilder&); // Not implemented
void operator=(const vtkCustomUnstructuredGridBuilder&); // Not implemented
vtkCustomUnstructuredGridBuilder(const vtkCustomUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCustomUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -41,8 +41,8 @@ protected:
virtual ~vtkCPCxxHelper();
private:
vtkCPCxxHelper(const vtkCPCxxHelper&); // Not implemented
void operator=(const vtkCPCxxHelper&); // Not implemented
vtkCPCxxHelper(const vtkCPCxxHelper&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPCxxHelper&) VTK_DELETE_FUNCTION;
vtkPVOptions* Options;
......
......@@ -101,8 +101,8 @@ protected:
virtual ~vtkCPDataDescription();
private:
vtkCPDataDescription(const vtkCPDataDescription&); // Not implemented
void operator=(const vtkCPDataDescription&); // Not implemented
vtkCPDataDescription(const vtkCPDataDescription&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPDataDescription&) VTK_DELETE_FUNCTION;
/// The current simulation time. This should be set in the adaptor.
double Time;
......
......@@ -122,8 +122,8 @@ protected:
vtkDataObject* Grid;
private:
vtkCPInputDataDescription(const vtkCPInputDataDescription&); // Not implemented.
void operator=(const vtkCPInputDataDescription&); // Not implemented.
vtkCPInputDataDescription(const vtkCPInputDataDescription&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPInputDataDescription&) VTK_DELETE_FUNCTION;
class vtkInternals;
vtkInternals* Internals;
......
......@@ -53,8 +53,8 @@ protected:
virtual ~vtkCPPipeline();
private:
vtkCPPipeline(const vtkCPPipeline&); // Not implemented
void operator=(const vtkCPPipeline&); // Not implemented
vtkCPPipeline(const vtkCPPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPipeline&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -113,8 +113,8 @@ protected:
virtual vtkObject* NewInitializationHelper();
private:
vtkCPProcessor(const vtkCPProcessor&); // Not implemented
void operator=(const vtkCPProcessor&); // Not implemented
vtkCPProcessor(const vtkCPProcessor&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPProcessor&) VTK_DELETE_FUNCTION;
vtkCPProcessorInternals* Internal;
vtkObject* InitializationHelper;
......
......@@ -51,8 +51,8 @@ protected:
~vtkPVCustomTestDriver();
private:
vtkPVCustomTestDriver(const vtkPVCustomTestDriver&); // Not implemented
void operator=(const vtkPVCustomTestDriver&); // Not implemented
vtkPVCustomTestDriver(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
void operator=(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
// Description:
// The coprocessor to be called by this custom test.
......
......@@ -36,8 +36,8 @@ protected:
~vtkCPPythonAdaptorAPI();
private:
vtkCPPythonAdaptorAPI(const vtkCPPythonAdaptorAPI&); // Not implemented
void operator=(const vtkCPPythonAdaptorAPI&); // Not implemented
vtkCPPythonAdaptorAPI(const vtkCPPythonAdaptorAPI&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPythonAdaptorAPI&) VTK_DELETE_FUNCTION;
};
......
......@@ -65,8 +65,8 @@ protected:
vtkGetStringMacro(PythonScriptName);
private:
vtkCPPythonScriptPipeline(const vtkCPPythonScriptPipeline&); // Not implemented
void operator=(const vtkCPPythonScriptPipeline&); // Not implemented
vtkCPPythonScriptPipeline(const vtkCPPythonScriptPipeline&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPPythonScriptPipeline&) VTK_DELETE_FUNCTION;
/// The name of the python script (without the path or extension)
/// that is used as the namespace of the functions of the script.
......
......@@ -48,8 +48,8 @@ protected:
~vtkCPBaseFieldBuilder();
private:
vtkCPBaseFieldBuilder(const vtkCPBaseFieldBuilder&); // Not implemented
void operator=(const vtkCPBaseFieldBuilder&); // Not implemented
vtkCPBaseFieldBuilder(const vtkCPBaseFieldBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPBaseFieldBuilder&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -43,8 +43,8 @@ protected:
~vtkCPBaseGridBuilder();
private:
vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&); // Not implemented
void operator=(const vtkCPBaseGridBuilder&); // Not implemented
vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
void operator=(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -43,8 +43,8 @@ protected:
~vtkCPCellFieldBuilder();
private: