diff --git a/Common/Core/SMP/TBB/vtkSMPThreadLocalImpl.h b/Common/Core/SMP/TBB/vtkSMPThreadLocalImpl.h index 8abfbd8d6d62478071aac9d8ebfda81e3595b1b0..75b7e5eecc8cd26d3c511f98cd48808a69fcccfc 100644 --- a/Common/Core/SMP/TBB/vtkSMPThreadLocalImpl.h +++ b/Common/Core/SMP/TBB/vtkSMPThreadLocalImpl.h @@ -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) diff --git a/Common/ImplicitArrays/vtkIndexedImplicitBackend.txx b/Common/ImplicitArrays/vtkIndexedImplicitBackend.txx index d8422f46a4556dfc03baaecb817104d2343a9821..7717ae5fe2f485c3f186cc20b56f4fe83d8c42f7 100644 --- a/Common/ImplicitArrays/vtkIndexedImplicitBackend.txx +++ b/Common/ImplicitArrays/vtkIndexedImplicitBackend.txx @@ -191,9 +191,7 @@ vtkIndexedImplicitBackend<ValueType>::vtkIndexedImplicitBackend( //----------------------------------------------------------------------- template <typename ValueType> -vtkIndexedImplicitBackend<ValueType>::~vtkIndexedImplicitBackend() -{ -} +vtkIndexedImplicitBackend<ValueType>::~vtkIndexedImplicitBackend() = default; //----------------------------------------------------------------------- template <typename ValueType> diff --git a/Domains/Microscopy/vtkOpenSlideReader.h b/Domains/Microscopy/vtkOpenSlideReader.h index 70104a4b6cc353d64035b8d9390500a5b65af7dd..b9f3915764b1d2d2cd9fd3f5ffb4b3e338bc4b94 100644 --- a/Domains/Microscopy/vtkOpenSlideReader.h +++ b/Domains/Microscopy/vtkOpenSlideReader.h @@ -66,7 +66,7 @@ public: const char* GetDescriptiveName() override { return "Openslide::WholeSlideImage"; } protected: - vtkOpenSlideReader() {} + vtkOpenSlideReader() = default; ~vtkOpenSlideReader() override; ///@} diff --git a/Rendering/CellGrid/vtkOpenGLCellGridRenderRequest.h b/Rendering/CellGrid/vtkOpenGLCellGridRenderRequest.h index 704fe1363138425ee181901c9cf4180737690940..f9dc7a540da1e01b66d99e6af9f53bff34f8700e 100644 --- a/Rendering/CellGrid/vtkOpenGLCellGridRenderRequest.h +++ b/Rendering/CellGrid/vtkOpenGLCellGridRenderRequest.h @@ -48,7 +48,7 @@ public: class StateBase { public: - virtual ~StateBase() {} + virtual ~StateBase() = default; }; /// An enumeration of which shapes to render. diff --git a/Testing/DataModel/vtkMappedUnstructuredGridGenerator.h b/Testing/DataModel/vtkMappedUnstructuredGridGenerator.h index 8b66097ee895dec8b20badce83d5764ac328bf75..de0a44c434a6fc68eb4c757321393f051f67a0e2 100644 --- a/Testing/DataModel/vtkMappedUnstructuredGridGenerator.h +++ b/Testing/DataModel/vtkMappedUnstructuredGridGenerator.h @@ -55,7 +55,7 @@ public: static void GenerateUnstructuredGrid(vtkUnstructuredGrid** grid); protected: - vtkMappedUnstructuredGridGenerator() {} + vtkMappedUnstructuredGridGenerator() = default; vtkMappedUnstructuredGridGenerator(const vtkMappedUnstructuredGridGenerator&) = delete; void operator=(const vtkMappedUnstructuredGridGenerator&) = delete; diff --git a/Utilities/Benchmarks/vtkRenderTimings.h b/Utilities/Benchmarks/vtkRenderTimings.h index 2a2bd90189fd161b1238ed17b47cc5845ec5464c..b3e0f1772f3718e0804f48c23a907703e24c0f48 100644 --- a/Utilities/Benchmarks/vtkRenderTimings.h +++ b/Utilities/Benchmarks/vtkRenderTimings.h @@ -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; diff --git a/Utilities/DICOMParser/DICOMCallback.h b/Utilities/DICOMParser/DICOMCallback.h index 765711dd0acef764397780ce9df0dbe41ef4ed42..415683a63eb98cfcb0e3c0b2bff25dd31bb6dc34 100644 --- a/Utilities/DICOMParser/DICOMCallback.h +++ b/Utilities/DICOMParser/DICOMCallback.h @@ -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; }; diff --git a/Utilities/octree/octree/octree_cursor.txx b/Utilities/octree/octree/octree_cursor.txx index 88c8c4b94e01a48aa400e485854c1da33e3f9796..7d6c266fc2bd472ea7ed310e5a95260de14cf26e 100644 --- a/Utilities/octree/octree/octree_cursor.txx +++ b/Utilities/octree/octree/octree_cursor.txx @@ -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. *