Commit 43311be7 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

clang-tidy: fix `modernize-use-equals-default` lints

parent c32011ea
......@@ -32,9 +32,7 @@
#include "vtkUnsignedCharArray.h"
//---------------------------------------------------------------------------
vtkCTHSource::vtkCTHSource()
{
}
vtkCTHSource::vtkCTHSource() = default;
vtkCTHSource::~vtkCTHSource()
{
......
......@@ -15,14 +15,10 @@
#include "vtkCPBaseFieldBuilder.h"
//----------------------------------------------------------------------------
vtkCPBaseFieldBuilder::vtkCPBaseFieldBuilder()
{
}
vtkCPBaseFieldBuilder::vtkCPBaseFieldBuilder() = default;
//----------------------------------------------------------------------------
vtkCPBaseFieldBuilder::~vtkCPBaseFieldBuilder()
{
}
vtkCPBaseFieldBuilder::~vtkCPBaseFieldBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPBaseFieldBuilder::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -15,14 +15,10 @@
#include "vtkCPBaseGridBuilder.h"
//----------------------------------------------------------------------------
vtkCPBaseGridBuilder::vtkCPBaseGridBuilder()
{
}
vtkCPBaseGridBuilder::vtkCPBaseGridBuilder() = default;
//----------------------------------------------------------------------------
vtkCPBaseGridBuilder::~vtkCPBaseGridBuilder()
{
}
vtkCPBaseGridBuilder::~vtkCPBaseGridBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPBaseGridBuilder::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -26,9 +26,7 @@
vtkStandardNewMacro(vtkCPCellFieldBuilder);
//----------------------------------------------------------------------------
vtkCPCellFieldBuilder::vtkCPCellFieldBuilder()
{
}
vtkCPCellFieldBuilder::vtkCPCellFieldBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPCellFieldBuilder::BuildField(unsigned long timeStep, double time, vtkDataSet* grid)
......@@ -68,9 +66,7 @@ void vtkCPCellFieldBuilder::BuildField(unsigned long timeStep, double time, vtkD
}
//----------------------------------------------------------------------------
vtkCPCellFieldBuilder::~vtkCPCellFieldBuilder()
{
}
vtkCPCellFieldBuilder::~vtkCPCellFieldBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPCellFieldBuilder::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -25,9 +25,7 @@ vtkCPConstantScalarFieldFunction::vtkCPConstantScalarFieldFunction()
}
//----------------------------------------------------------------------------
vtkCPConstantScalarFieldFunction::~vtkCPConstantScalarFieldFunction()
{
}
vtkCPConstantScalarFieldFunction::~vtkCPConstantScalarFieldFunction() = default;
//----------------------------------------------------------------------------
double vtkCPConstantScalarFieldFunction::ComputeComponenentAtPoint(unsigned int component,
......
......@@ -29,9 +29,7 @@ vtkCPLinearScalarFieldFunction::vtkCPLinearScalarFieldFunction()
}
//----------------------------------------------------------------------------
vtkCPLinearScalarFieldFunction::~vtkCPLinearScalarFieldFunction()
{
}
vtkCPLinearScalarFieldFunction::~vtkCPLinearScalarFieldFunction() = default;
//----------------------------------------------------------------------------
double vtkCPLinearScalarFieldFunction::ComputeComponenentAtPoint(
......
......@@ -25,9 +25,7 @@
vtkStandardNewMacro(vtkCPNodalFieldBuilder);
//----------------------------------------------------------------------------
vtkCPNodalFieldBuilder::vtkCPNodalFieldBuilder()
{
}
vtkCPNodalFieldBuilder::vtkCPNodalFieldBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPNodalFieldBuilder::BuildField(unsigned long timeStep, double time, vtkDataSet* grid)
......@@ -65,9 +63,7 @@ void vtkCPNodalFieldBuilder::BuildField(unsigned long timeStep, double time, vtk
}
//----------------------------------------------------------------------------
vtkCPNodalFieldBuilder::~vtkCPNodalFieldBuilder()
{
}
vtkCPNodalFieldBuilder::~vtkCPNodalFieldBuilder() = default;
//----------------------------------------------------------------------------
void vtkCPNodalFieldBuilder::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -15,14 +15,10 @@
#include "vtkCPScalarFieldFunction.h"
//----------------------------------------------------------------------------
vtkCPScalarFieldFunction::vtkCPScalarFieldFunction()
{
}
vtkCPScalarFieldFunction::vtkCPScalarFieldFunction() = default;
//----------------------------------------------------------------------------
vtkCPScalarFieldFunction::~vtkCPScalarFieldFunction()
{
}
vtkCPScalarFieldFunction::~vtkCPScalarFieldFunction() = default;
//----------------------------------------------------------------------------
void vtkCPScalarFieldFunction::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -15,14 +15,10 @@
#include "vtkCPTensorFieldFunction.h"
//----------------------------------------------------------------------------
vtkCPTensorFieldFunction::vtkCPTensorFieldFunction()
{
}
vtkCPTensorFieldFunction::vtkCPTensorFieldFunction() = default;
//----------------------------------------------------------------------------
vtkCPTensorFieldFunction::~vtkCPTensorFieldFunction()
{
}
vtkCPTensorFieldFunction::~vtkCPTensorFieldFunction() = default;
//----------------------------------------------------------------------------
void vtkCPTensorFieldFunction::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -15,14 +15,10 @@
#include "vtkCPVector3FieldFunction.h"
//----------------------------------------------------------------------------
vtkCPVector3FieldFunction::vtkCPVector3FieldFunction()
{
}
vtkCPVector3FieldFunction::vtkCPVector3FieldFunction() = default;
//----------------------------------------------------------------------------
vtkCPVector3FieldFunction::~vtkCPVector3FieldFunction()
{
}
vtkCPVector3FieldFunction::~vtkCPVector3FieldFunction() = default;
//----------------------------------------------------------------------------
void vtkCPVector3FieldFunction::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -61,7 +61,7 @@ protected:
this->SetGridBuilder(gridBuilder);
gridBuilder->Delete();
}
~vtkCPImplementedTestDriver(){};
~vtkCPImplementedTestDriver() = default;
private:
vtkCPImplementedTestDriver(const vtkCPImplementedTestDriver&) = delete;
......
......@@ -29,14 +29,10 @@
vtkStandardNewMacro(vtkCustomUnstructuredGridBuilder);
//----------------------------------------------------------------------------
vtkCustomUnstructuredGridBuilder::vtkCustomUnstructuredGridBuilder()
{
}
vtkCustomUnstructuredGridBuilder::vtkCustomUnstructuredGridBuilder() = default;
//----------------------------------------------------------------------------
vtkCustomUnstructuredGridBuilder::~vtkCustomUnstructuredGridBuilder()
{
}
vtkCustomUnstructuredGridBuilder::~vtkCustomUnstructuredGridBuilder() = default;
//----------------------------------------------------------------------------
vtkDataObject* vtkCustomUnstructuredGridBuilder::GetGrid(
......
......@@ -15,14 +15,10 @@
#include "vtkCPPipeline.h"
//----------------------------------------------------------------------------
vtkCPPipeline::vtkCPPipeline()
{
}
vtkCPPipeline::vtkCPPipeline() = default;
//----------------------------------------------------------------------------
vtkCPPipeline::~vtkCPPipeline()
{
}
vtkCPPipeline::~vtkCPPipeline() = default;
//----------------------------------------------------------------------------
int vtkCPPipeline::Finalize()
......
......@@ -128,9 +128,7 @@ vtkCPXMLPWriterPipeline::vtkCPXMLPWriterPipeline()
}
//----------------------------------------------------------------------------
vtkCPXMLPWriterPipeline::~vtkCPXMLPWriterPipeline()
{
}
vtkCPXMLPWriterPipeline::~vtkCPXMLPWriterPipeline() = default;
//----------------------------------------------------------------------------
int vtkCPXMLPWriterPipeline::RequestDataDescription(vtkCPDataDescription* dataDescription)
......
......@@ -340,14 +340,10 @@ bool verify(const std::string& protocol, const conduit::Node& n)
} // namespace execute
//----------------------------------------------------------------------------
vtkCatalystBlueprint::vtkCatalystBlueprint()
{
}
vtkCatalystBlueprint::vtkCatalystBlueprint() = default;
//----------------------------------------------------------------------------
vtkCatalystBlueprint::~vtkCatalystBlueprint()
{
}
vtkCatalystBlueprint::~vtkCatalystBlueprint() = default;
//----------------------------------------------------------------------------
bool vtkCatalystBlueprint::Verify(const std::string& protocol, const conduit::Node& n)
......
......@@ -65,14 +65,10 @@ int vtkInSituInitializationHelper::WasInitializedOnce;
int vtkInSituInitializationHelper::WasFinalizedOnce;
vtkInSituInitializationHelper::vtkInternals* vtkInSituInitializationHelper::Internals;
//----------------------------------------------------------------------------
vtkInSituInitializationHelper::vtkInSituInitializationHelper()
{
}
vtkInSituInitializationHelper::vtkInSituInitializationHelper() = default;
//----------------------------------------------------------------------------
vtkInSituInitializationHelper::~vtkInSituInitializationHelper()
{
}
vtkInSituInitializationHelper::~vtkInSituInitializationHelper() = default;
//----------------------------------------------------------------------------
void vtkInSituInitializationHelper::Initialize(vtkTypeUInt64 comm)
......
......@@ -17,14 +17,10 @@
#include "vtkObjectFactory.h"
//----------------------------------------------------------------------------
vtkInSituPipeline::vtkInSituPipeline()
{
}
vtkInSituPipeline::vtkInSituPipeline() = default;
//----------------------------------------------------------------------------
vtkInSituPipeline::~vtkInSituPipeline()
{
}
vtkInSituPipeline::~vtkInSituPipeline() = default;
//----------------------------------------------------------------------------
void vtkInSituPipeline::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -92,9 +92,7 @@ vtkCPPythonPipeline::vtkCPPythonPipeline()
}
//----------------------------------------------------------------------------
vtkCPPythonPipeline::~vtkCPPythonPipeline()
{
}
vtkCPPythonPipeline::~vtkCPPythonPipeline() = default;
//----------------------------------------------------------------------------
int vtkCPPythonPipeline::DetectScriptVersion(const char* fname)
......
......@@ -28,9 +28,7 @@ vtkCPPythonScriptV2Pipeline::vtkCPPythonScriptV2Pipeline()
}
//----------------------------------------------------------------------------
vtkCPPythonScriptV2Pipeline::~vtkCPPythonScriptV2Pipeline()
{
}
vtkCPPythonScriptV2Pipeline::~vtkCPPythonScriptV2Pipeline() = default;
//----------------------------------------------------------------------------
bool vtkCPPythonScriptV2Pipeline::Initialize(const char* path)
......
......@@ -22,14 +22,10 @@
vtkStandardNewMacro(vtkCPPythonStringPipeline);
//----------------------------------------------------------------------------
vtkCPPythonStringPipeline::vtkCPPythonStringPipeline()
{
}
vtkCPPythonStringPipeline::vtkCPPythonStringPipeline() = default;
//----------------------------------------------------------------------------
vtkCPPythonStringPipeline::~vtkCPPythonStringPipeline()
{
}
vtkCPPythonStringPipeline::~vtkCPPythonStringPipeline() = default;
//----------------------------------------------------------------------------
int vtkCPPythonStringPipeline::Initialize(const char* pythonString)
......
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