Skip to content
Snippets Groups Projects
Commit 9962b73e authored by Ben Boeckel's avatar Ben Boeckel
Browse files

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

parent bee8dc2f
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class vtkSMPThreadLocalImpl<BackendType::TBB, T> : public vtkSMPThreadLocalImplA
typedef typename vtkSMPThreadLocalImplAbstract<T>::ItImpl ItImplAbstract;
public:
vtkSMPThreadLocalImpl() {}
vtkSMPThreadLocalImpl() = default;
explicit vtkSMPThreadLocalImpl(const T& exemplar)
: Internal(exemplar)
......
......@@ -191,9 +191,7 @@ vtkIndexedImplicitBackend<ValueType>::vtkIndexedImplicitBackend(
//-----------------------------------------------------------------------
template <typename ValueType>
vtkIndexedImplicitBackend<ValueType>::~vtkIndexedImplicitBackend()
{
}
vtkIndexedImplicitBackend<ValueType>::~vtkIndexedImplicitBackend() = default;
//-----------------------------------------------------------------------
template <typename ValueType>
......
......@@ -66,7 +66,7 @@ public:
const char* GetDescriptiveName() override { return "Openslide::WholeSlideImage"; }
protected:
vtkOpenSlideReader() {}
vtkOpenSlideReader() = default;
~vtkOpenSlideReader() override;
///@}
......
......@@ -48,7 +48,7 @@ public:
class StateBase
{
public:
virtual ~StateBase() {}
virtual ~StateBase() = default;
};
/// An enumeration of which shapes to render.
......
......@@ -55,7 +55,7 @@ public:
static void GenerateUnstructuredGrid(vtkUnstructuredGrid** grid);
protected:
vtkMappedUnstructuredGridGenerator() {}
vtkMappedUnstructuredGridGenerator() = default;
vtkMappedUnstructuredGridGenerator(const vtkMappedUnstructuredGridGenerator&) = delete;
void operator=(const vtkMappedUnstructuredGridGenerator&) = delete;
......
......@@ -74,7 +74,7 @@ public:
RenderWidth = RenderHeight = 600;
}
virtual ~vtkRTTest() {}
virtual ~vtkRTTest() = default;
protected:
float TargetTime;
......@@ -132,7 +132,7 @@ public:
this->ChartResults = true;
}
virtual ~vtkRTTestSequence() {}
virtual ~vtkRTTestSequence() = default;
protected:
std::vector<vtkRTTestResult> TestResults;
......
......@@ -44,7 +44,7 @@ VTK_ABI_NAMESPACE_BEGIN
class DICOM_EXPORT DICOMCallback
{
public:
virtual ~DICOMCallback() {}
virtual ~DICOMCallback() = default;
virtual void Execute(DICOMParser* parser, doublebyte group, doublebyte element,
DICOMParser::VRTypes type, unsigned char* val, quadbyte len) = 0;
};
......
......@@ -60,9 +60,7 @@
*/
VTK_ABI_NAMESPACE_BEGIN
template <typename T_, typename R_, typename P_, typename O_, typename OP_, int d_>
octree_cursor<T_, R_, P_, O_, OP_, d_>::octree_cursor()
{
}
octree_cursor<T_, R_, P_, O_, OP_, d_>::octree_cursor() = default;
/**\brief Constructor you should generally use.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment