From a8f034dbf9ed81d5e58b62e749e9e385c1a713be Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Sat, 20 Jan 2024 13:23:19 +0100 Subject: [PATCH] STYLE: Remove public defaulted default-constructor/destructor pairs Following the C++ Rule of Zero. May also prevent some clang warnings (https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-copy-with-dtor), saying: > warning: definition of implicit copy [...] is deprecated because it has a user-declared destructor Found with Notepad++, using the following regular expression: ([^ ]+)\(\) = default;\r\n ~\1\(\) = default; --- .../include/itkVectorCastImageFilter.h | 2 -- .../Core/Common/include/itkBresenhamLine.h | 4 ---- .../Common/include/itkDefaultPixelAccessor.h | 3 --- Modules/Core/Common/include/itkPoint.h | 3 --- .../include/itkSymmetricEigenAnalysis.h | 3 --- .../test/itkSimpleFilterWatcherTest.cxx | 2 -- .../itkLandweberDeconvolutionImageFilter.h | 3 --- ...itkTensorFractionalAnisotropyImageFilter.h | 2 -- .../itkTensorRelativeAnisotropyImageFilter.h | 2 -- .../itkAbsoluteValueDifferenceImageFilter.h | 2 -- .../include/itkSquaredDifferenceImageFilter.h | 2 -- .../ImageCompose/include/itkJoinImageFilter.h | 3 --- .../include/itkAbsImageFilter.h | 2 -- .../include/itkAcosImageFilter.h | 2 -- .../include/itkArithmeticOpsFunctors.h | 15 ------------- .../include/itkAsinImageFilter.h | 2 -- .../include/itkAtan2ImageFilter.h | 2 -- .../include/itkAtanImageFilter.h | 2 -- .../include/itkBinaryMagnitudeImageFilter.h | 2 -- .../include/itkBitwiseOpsFunctors.h | 6 ------ .../include/itkBoundedReciprocalImageFilter.h | 2 -- .../itkComplexToImaginaryImageFilter.h | 2 -- .../include/itkComplexToModulusImageFilter.h | 2 -- .../include/itkComplexToPhaseImageFilter.h | 2 -- .../include/itkComplexToRealImageFilter.h | 2 -- .../itkConstrainedValueAdditionImageFilter.h | 2 -- ...itkConstrainedValueDifferenceImageFilter.h | 2 -- .../include/itkCosImageFilter.h | 2 -- .../include/itkEdgePotentialImageFilter.h | 2 -- .../include/itkExpImageFilter.h | 2 -- .../include/itkLog10ImageFilter.h | 2 -- .../include/itkLogImageFilter.h | 2 -- .../include/itkLogicOpsFunctors.h | 21 ------------------- ...itkMagnitudeAndPhaseToComplexImageFilter.h | 2 -- .../include/itkMaskNegatedImageFilter.h | 2 -- .../include/itkMaximumImageFilter.h | 2 -- .../include/itkMinimumImageFilter.h | 2 -- .../include/itkNaryAddImageFilter.h | 2 -- .../include/itkNaryMaximumImageFilter.h | 2 -- .../include/itkRGBToLuminanceImageFilter.h | 2 -- .../include/itkRoundImageFilter.h | 2 -- .../include/itkSinImageFilter.h | 2 -- .../include/itkSqrtImageFilter.h | 2 -- .../include/itkSquareImageFilter.h | 2 -- .../itkSymmetricEigenAnalysisImageFilter.h | 4 ---- .../include/itkTanImageFilter.h | 2 -- .../include/itkTernaryMagnitudeImageFilter.h | 2 -- .../itkTernaryMagnitudeSquaredImageFilter.h | 2 -- .../include/itkVectorMagnitudeImageFilter.h | 3 --- .../include/itkChangeLabelImageFilter.h | 3 --- .../include/itkBinaryNotImageFilter.h | 2 -- .../itkVanHerkGilWermanDilateImageFilter.h | 2 -- .../itkVanHerkGilWermanErodeImageFilter.h | 2 -- 53 files changed, 153 deletions(-) diff --git a/Modules/Compatibility/Deprecated/include/itkVectorCastImageFilter.h b/Modules/Compatibility/Deprecated/include/itkVectorCastImageFilter.h index 90cf02b6a2a..5ffc0521a50 100644 --- a/Modules/Compatibility/Deprecated/include/itkVectorCastImageFilter.h +++ b/Modules/Compatibility/Deprecated/include/itkVectorCastImageFilter.h @@ -46,8 +46,6 @@ template class VectorCast { public: - VectorCast() = default; - ~VectorCast() = default; bool operator!=(const VectorCast &) const { diff --git a/Modules/Core/Common/include/itkBresenhamLine.h b/Modules/Core/Common/include/itkBresenhamLine.h index cef394f36be..58ba69c2417 100644 --- a/Modules/Core/Common/include/itkBresenhamLine.h +++ b/Modules/Core/Common/include/itkBresenhamLine.h @@ -51,10 +51,6 @@ class ITK_TEMPLATE_EXPORT BresenhamLine using OffsetArray = std::vector; using IndexArray = std::vector; - // constructors - BresenhamLine() = default; - ~BresenhamLine() = default; - /** Build a line in a specified Direction. */ OffsetArray BuildLine(LType Direction, IdentifierType length); diff --git a/Modules/Core/Common/include/itkDefaultPixelAccessor.h b/Modules/Core/Common/include/itkDefaultPixelAccessor.h index b36082ebf38..a9af1874e22 100644 --- a/Modules/Core/Common/include/itkDefaultPixelAccessor.h +++ b/Modules/Core/Common/include/itkDefaultPixelAccessor.h @@ -54,9 +54,6 @@ template class ITK_TEMPLATE_EXPORT DefaultPixelAccessor { public: - DefaultPixelAccessor() = default; - ~DefaultPixelAccessor() = default; - /** External type alias. It defines the external aspect * that this class will exhibit. */ using ExternalType = TType; diff --git a/Modules/Core/Common/include/itkPoint.h b/Modules/Core/Common/include/itkPoint.h index 5e7f12181bf..2cee491b2f7 100644 --- a/Modules/Core/Common/include/itkPoint.h +++ b/Modules/Core/Common/include/itkPoint.h @@ -344,9 +344,6 @@ class ITK_TEMPLATE_EXPORT BarycentricCombination using PointType = typename PointContainerType::Element; using WeightContainerType = TWeightContainer; - BarycentricCombination() = default; - ~BarycentricCombination() = default; - static PointType Evaluate(const PointContainerPointer & points, const WeightContainerType & weights); }; diff --git a/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h b/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h index 704c4495af0..ff6d65f46e8 100644 --- a/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h +++ b/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h @@ -764,9 +764,6 @@ class ITK_TEMPLATE_EXPORT SymmetricEigenAnalysisFixedDimension static constexpr EigenValueOrderEnum DoNotOrder = EigenValueOrderEnum::DoNotOrder; #endif - SymmetricEigenAnalysisFixedDimension() = default; - ~SymmetricEigenAnalysisFixedDimension() = default; - using MatrixType = TMatrix; using EigenMatrixType = TEigenMatrix; using VectorType = TVector; diff --git a/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx b/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx index cef49fb9851..aa658be3739 100644 --- a/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx +++ b/Modules/Core/Common/test/itkSimpleFilterWatcherTest.cxx @@ -28,8 +28,6 @@ template class TanHelper { public: - TanHelper() = default; - ~TanHelper() = default; bool operator==(const TanHelper & rhs) const { diff --git a/Modules/Filtering/Deconvolution/include/itkLandweberDeconvolutionImageFilter.h b/Modules/Filtering/Deconvolution/include/itkLandweberDeconvolutionImageFilter.h index 96c4c16af2e..8862e5b5838 100644 --- a/Modules/Filtering/Deconvolution/include/itkLandweberDeconvolutionImageFilter.h +++ b/Modules/Filtering/Deconvolution/include/itkLandweberDeconvolutionImageFilter.h @@ -36,9 +36,6 @@ template class AbsoluteValueDifference2 { public: - AbsoluteValueDifference2() = default; - ~AbsoluteValueDifference2() = default; bool operator==(const AbsoluteValueDifference2 &) const { diff --git a/Modules/Filtering/ImageCompare/include/itkSquaredDifferenceImageFilter.h b/Modules/Filtering/ImageCompare/include/itkSquaredDifferenceImageFilter.h index 6d9bfe6cb4d..984047124db 100644 --- a/Modules/Filtering/ImageCompare/include/itkSquaredDifferenceImageFilter.h +++ b/Modules/Filtering/ImageCompare/include/itkSquaredDifferenceImageFilter.h @@ -57,8 +57,6 @@ template class SquaredDifference2 { public: - SquaredDifference2() = default; - ~SquaredDifference2() = default; bool operator==(const SquaredDifference2 &) const { diff --git a/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h b/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h index 144e6fde19a..382e0a8e5f6 100644 --- a/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h +++ b/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h @@ -48,9 +48,6 @@ template class JoinFunctor { public: - JoinFunctor() = default; - ~JoinFunctor() = default; - /** Standard type alias */ using Self = JoinFunctor; diff --git a/Modules/Filtering/ImageIntensity/include/itkAbsImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkAbsImageFilter.h index a1b3bca45e7..0376a604346 100644 --- a/Modules/Filtering/ImageIntensity/include/itkAbsImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkAbsImageFilter.h @@ -33,8 +33,6 @@ template class Abs { public: - Abs() = default; - ~Abs() = default; bool operator==(const Abs &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkAcosImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkAcosImageFilter.h index e5e1537af77..47b3cc06b2b 100644 --- a/Modules/Filtering/ImageIntensity/include/itkAcosImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkAcosImageFilter.h @@ -34,8 +34,6 @@ template class Acos { public: - Acos() = default; - ~Acos() = default; bool operator==(const Acos &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkArithmeticOpsFunctors.h b/Modules/Filtering/ImageIntensity/include/itkArithmeticOpsFunctors.h index 8675bd48679..c90e6454c0d 100644 --- a/Modules/Filtering/ImageIntensity/include/itkArithmeticOpsFunctors.h +++ b/Modules/Filtering/ImageIntensity/include/itkArithmeticOpsFunctors.h @@ -34,8 +34,6 @@ template class ITK_TEMPLATE_EXPORT Div { public: - Div() = default; - ~Div() = default; bool operator==(const Div &) const { @@ -217,9 +207,6 @@ template class ITK_TEMPLATE_EXPORT Modulus { public: - Modulus() = default; - ~Modulus() = default; - bool operator==(const Modulus &) const { @@ -368,8 +355,6 @@ template class UnaryMinus { public: - UnaryMinus() = default; - ~UnaryMinus() = default; bool operator==(const UnaryMinus &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkAsinImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkAsinImageFilter.h index b005b6f44d1..2bf6514ff9b 100644 --- a/Modules/Filtering/ImageIntensity/include/itkAsinImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkAsinImageFilter.h @@ -34,8 +34,6 @@ template class Asin { public: - Asin() = default; - ~Asin() = default; bool operator==(const Asin &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkAtan2ImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkAtan2ImageFilter.h index ccc9c92022a..2a894696937 100644 --- a/Modules/Filtering/ImageIntensity/include/itkAtan2ImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkAtan2ImageFilter.h @@ -34,8 +34,6 @@ template class Atan2 { public: - Atan2() = default; - ~Atan2() = default; bool operator==(const Atan2 &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkAtanImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkAtanImageFilter.h index 1ea05927da6..2119b0748f6 100644 --- a/Modules/Filtering/ImageIntensity/include/itkAtanImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkAtanImageFilter.h @@ -34,8 +34,6 @@ template class Atan { public: - Atan() = default; - ~Atan() = default; bool operator==(const Atan &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkBinaryMagnitudeImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkBinaryMagnitudeImageFilter.h index fb433ca2f05..745cba7d61e 100644 --- a/Modules/Filtering/ImageIntensity/include/itkBinaryMagnitudeImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkBinaryMagnitudeImageFilter.h @@ -33,8 +33,6 @@ template class Modulus2 { public: - Modulus2() = default; - ~Modulus2() = default; bool operator==(const Modulus2 &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkBitwiseOpsFunctors.h b/Modules/Filtering/ImageIntensity/include/itkBitwiseOpsFunctors.h index ca6970388b4..28b86c9fd33 100644 --- a/Modules/Filtering/ImageIntensity/include/itkBitwiseOpsFunctors.h +++ b/Modules/Filtering/ImageIntensity/include/itkBitwiseOpsFunctors.h @@ -34,8 +34,6 @@ template class BoundedReciprocal { public: - BoundedReciprocal() = default; - ~BoundedReciprocal() = default; bool operator==(const BoundedReciprocal &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkComplexToImaginaryImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkComplexToImaginaryImageFilter.h index dfff79d82c4..3104485d12b 100644 --- a/Modules/Filtering/ImageIntensity/include/itkComplexToImaginaryImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkComplexToImaginaryImageFilter.h @@ -36,8 +36,6 @@ template class ComplexToImaginary { public: - ComplexToImaginary() = default; - ~ComplexToImaginary() = default; bool operator==(const ComplexToImaginary &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkComplexToModulusImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkComplexToModulusImageFilter.h index eac72bc52d9..7de83ce0379 100644 --- a/Modules/Filtering/ImageIntensity/include/itkComplexToModulusImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkComplexToModulusImageFilter.h @@ -35,8 +35,6 @@ template class ComplexToModulus { public: - ComplexToModulus() = default; - ~ComplexToModulus() = default; bool operator==(const ComplexToModulus &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkComplexToPhaseImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkComplexToPhaseImageFilter.h index 9e6794e3d9a..96fab34556e 100644 --- a/Modules/Filtering/ImageIntensity/include/itkComplexToPhaseImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkComplexToPhaseImageFilter.h @@ -36,8 +36,6 @@ template class ComplexToPhase { public: - ComplexToPhase() = default; - ~ComplexToPhase() = default; bool operator==(const ComplexToPhase &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkComplexToRealImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkComplexToRealImageFilter.h index 8cce505d540..f4a6681f547 100644 --- a/Modules/Filtering/ImageIntensity/include/itkComplexToRealImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkComplexToRealImageFilter.h @@ -35,8 +35,6 @@ template class ComplexToReal { public: - ComplexToReal() = default; - ~ComplexToReal() = default; bool operator==(const ComplexToReal &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkConstrainedValueAdditionImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkConstrainedValueAdditionImageFilter.h index d0008ba3ad2..fe090c26002 100644 --- a/Modules/Filtering/ImageIntensity/include/itkConstrainedValueAdditionImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkConstrainedValueAdditionImageFilter.h @@ -34,8 +34,6 @@ template class ConstrainedValueAddition { public: - ConstrainedValueAddition() = default; - ~ConstrainedValueAddition() = default; bool operator==(const ConstrainedValueAddition &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkConstrainedValueDifferenceImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkConstrainedValueDifferenceImageFilter.h index c7e63f4b954..3356d311cc6 100644 --- a/Modules/Filtering/ImageIntensity/include/itkConstrainedValueDifferenceImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkConstrainedValueDifferenceImageFilter.h @@ -58,8 +58,6 @@ template class ConstrainedValueDifference { public: - ConstrainedValueDifference() = default; - ~ConstrainedValueDifference() = default; bool operator==(const ConstrainedValueDifference &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkCosImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkCosImageFilter.h index 3e4853a6890..578046926de 100644 --- a/Modules/Filtering/ImageIntensity/include/itkCosImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkCosImageFilter.h @@ -34,8 +34,6 @@ template class Cos { public: - Cos() = default; - ~Cos() = default; bool operator==(const Cos &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkEdgePotentialImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkEdgePotentialImageFilter.h index f581ea370c4..0d933d1de0e 100644 --- a/Modules/Filtering/ImageIntensity/include/itkEdgePotentialImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkEdgePotentialImageFilter.h @@ -43,8 +43,6 @@ template class EdgePotential { public: - EdgePotential() = default; - ~EdgePotential() = default; bool operator==(const EdgePotential &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkExpImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkExpImageFilter.h index 14b62440bd8..001a221d197 100644 --- a/Modules/Filtering/ImageIntensity/include/itkExpImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkExpImageFilter.h @@ -34,8 +34,6 @@ template class Exp { public: - Exp() = default; - ~Exp() = default; bool operator==(const Exp &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkLog10ImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkLog10ImageFilter.h index 2c441ed8364..c4f5d00a885 100644 --- a/Modules/Filtering/ImageIntensity/include/itkLog10ImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkLog10ImageFilter.h @@ -34,8 +34,6 @@ template class Log10 { public: - Log10() = default; - ~Log10() = default; bool operator==(const Log10 &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkLogImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkLogImageFilter.h index 49ca78bc2d6..3d122916677 100644 --- a/Modules/Filtering/ImageIntensity/include/itkLogImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkLogImageFilter.h @@ -34,8 +34,6 @@ template class Log { public: - Log() = default; - ~Log() = default; bool operator==(const Log &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkLogicOpsFunctors.h b/Modules/Filtering/ImageIntensity/include/itkLogicOpsFunctors.h index 549107ff680..c11a294b3a7 100644 --- a/Modules/Filtering/ImageIntensity/include/itkLogicOpsFunctors.h +++ b/Modules/Filtering/ImageIntensity/include/itkLogicOpsFunctors.h @@ -119,9 +119,6 @@ class ITK_TEMPLATE_EXPORT Equal : public LogicOpBase public: using Self = Equal; - Equal() = default; - ~Equal() = default; - bool operator==(const Self &) const { @@ -156,9 +153,6 @@ class ITK_TEMPLATE_EXPORT NotEqual : public LogicOpBase { public: using Self = Less; - Less() = default; - ~Less() = default; bool operator==(const Self &) const @@ -337,9 +322,6 @@ template class ITK_TEMPLATE_EXPORT NOT : public LogicOpBase { public: - NOT() = default; - ~NOT() = default; - bool operator==(const NOT &) const { @@ -368,9 +350,6 @@ template class MagnitudeAndPhaseToComplex { public: - MagnitudeAndPhaseToComplex() = default; - ~MagnitudeAndPhaseToComplex() = default; bool operator==(const MagnitudeAndPhaseToComplex &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkMaskNegatedImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkMaskNegatedImageFilter.h index 5e0629fd352..adb30fc7b73 100644 --- a/Modules/Filtering/ImageIntensity/include/itkMaskNegatedImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkMaskNegatedImageFilter.h @@ -38,8 +38,6 @@ class MaskNegatedInput public: using AccumulatorType = typename NumericTraits::AccumulateType; - MaskNegatedInput() = default; - ~MaskNegatedInput() = default; bool operator==(const MaskNegatedInput &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkMaximumImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkMaximumImageFilter.h index 58a2867a71f..c0ee98116b1 100644 --- a/Modules/Filtering/ImageIntensity/include/itkMaximumImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkMaximumImageFilter.h @@ -33,8 +33,6 @@ template ::AccumulateType; - Add1() = default; - ~Add1() = default; inline TOutput operator()(const std::vector & B) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkNaryMaximumImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkNaryMaximumImageFilter.h index b8bb2e8ffae..a40b2821922 100644 --- a/Modules/Filtering/ImageIntensity/include/itkNaryMaximumImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkNaryMaximumImageFilter.h @@ -38,8 +38,6 @@ class Maximum1 // not sure if this type alias really makes things more clear... could just use // TOutput? - Maximum1() = default; - ~Maximum1() = default; inline TOutput operator()(const std::vector & B) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkRGBToLuminanceImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkRGBToLuminanceImageFilter.h index fa7eb9c06b9..ccccc250776 100644 --- a/Modules/Filtering/ImageIntensity/include/itkRGBToLuminanceImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkRGBToLuminanceImageFilter.h @@ -43,8 +43,6 @@ class RGBToLuminance using ComponentType = typename TInput::ComponentType; using RealType = typename itk::NumericTraits::RealType; - RGBToLuminance() = default; - ~RGBToLuminance() = default; bool operator==(const RGBToLuminance &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkRoundImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkRoundImageFilter.h index 731df705aca..956a01f3cc5 100644 --- a/Modules/Filtering/ImageIntensity/include/itkRoundImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkRoundImageFilter.h @@ -34,8 +34,6 @@ template class Round { public: - Round() = default; - ~Round() = default; bool operator==(const Round &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkSinImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkSinImageFilter.h index e557691155e..94d470f8a6a 100644 --- a/Modules/Filtering/ImageIntensity/include/itkSinImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkSinImageFilter.h @@ -34,8 +34,6 @@ template class Sin { public: - Sin() = default; - ~Sin() = default; bool operator==(const Sin &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkSqrtImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkSqrtImageFilter.h index f4043588508..4aa1ab0fdc2 100644 --- a/Modules/Filtering/ImageIntensity/include/itkSqrtImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkSqrtImageFilter.h @@ -34,8 +34,6 @@ template class Sqrt { public: - Sqrt() = default; - ~Sqrt() = default; bool operator==(const Sqrt &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkSquareImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkSquareImageFilter.h index 35376b18868..f6ac2c0a8e0 100644 --- a/Modules/Filtering/ImageIntensity/include/itkSquareImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkSquareImageFilter.h @@ -41,8 +41,6 @@ class Square { public: using RealType = typename NumericTraits::RealType; - Square() = default; - ~Square() = default; bool operator==(const Square &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkSymmetricEigenAnalysisImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkSymmetricEigenAnalysisImageFilter.h index 84e1275ba7d..e0a515be375 100644 --- a/Modules/Filtering/ImageIntensity/include/itkSymmetricEigenAnalysisImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkSymmetricEigenAnalysisImageFilter.h @@ -44,8 +44,6 @@ class SymmetricEigenAnalysisFunction { public: using RealValueType = typename TInput::RealValueType; - SymmetricEigenAnalysisFunction() = default; - ~SymmetricEigenAnalysisFunction() = default; using CalculatorType = SymmetricEigenAnalysis; bool operator==(const SymmetricEigenAnalysisFunction &) const @@ -131,8 +129,6 @@ class SymmetricEigenAnalysisFixedDimensionFunction { public: using RealValueType = typename TInput::RealValueType; - SymmetricEigenAnalysisFixedDimensionFunction() = default; - ~SymmetricEigenAnalysisFixedDimensionFunction() = default; using CalculatorType = SymmetricEigenAnalysisFixedDimension; bool operator==(const SymmetricEigenAnalysisFixedDimensionFunction &) const diff --git a/Modules/Filtering/ImageIntensity/include/itkTanImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkTanImageFilter.h index bd897de1bbf..18f7bcabffa 100644 --- a/Modules/Filtering/ImageIntensity/include/itkTanImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkTanImageFilter.h @@ -34,8 +34,6 @@ template class Tan { public: - Tan() = default; - ~Tan() = default; bool operator==(const Tan &) const { diff --git a/Modules/Filtering/ImageIntensity/include/itkTernaryMagnitudeImageFilter.h b/Modules/Filtering/ImageIntensity/include/itkTernaryMagnitudeImageFilter.h index 97969c012fc..015a4e74cad 100644 --- a/Modules/Filtering/ImageIntensity/include/itkTernaryMagnitudeImageFilter.h +++ b/Modules/Filtering/ImageIntensity/include/itkTernaryMagnitudeImageFilter.h @@ -33,8 +33,6 @@ template class VectorMagnitude { public: - VectorMagnitude() = default; - ~VectorMagnitude() = default; - bool operator==(const VectorMagnitude &) const { diff --git a/Modules/Filtering/ImageLabel/include/itkChangeLabelImageFilter.h b/Modules/Filtering/ImageLabel/include/itkChangeLabelImageFilter.h index 25b5644b499..36a9ff55607 100644 --- a/Modules/Filtering/ImageLabel/include/itkChangeLabelImageFilter.h +++ b/Modules/Filtering/ImageLabel/include/itkChangeLabelImageFilter.h @@ -54,9 +54,6 @@ template class ITK_TEMPLATE_EXPORT ChangeLabel { public: - ChangeLabel() = default; - ~ChangeLabel() = default; - using ChangeMapType = std::map; diff --git a/Modules/Filtering/LabelMap/include/itkBinaryNotImageFilter.h b/Modules/Filtering/LabelMap/include/itkBinaryNotImageFilter.h index e3036cff9a5..5d608b60442 100644 --- a/Modules/Filtering/LabelMap/include/itkBinaryNotImageFilter.h +++ b/Modules/Filtering/LabelMap/include/itkBinaryNotImageFilter.h @@ -58,8 +58,6 @@ template class BinaryNot { public: - BinaryNot() = default; - ~BinaryNot() = default; bool operator==(const BinaryNot &) const { diff --git a/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanDilateImageFilter.h b/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanDilateImageFilter.h index 7eaaf89a3c9..0c836cec6ca 100644 --- a/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanDilateImageFilter.h +++ b/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanDilateImageFilter.h @@ -27,8 +27,6 @@ template class MaxFunctor { public: - MaxFunctor() = default; - ~MaxFunctor() = default; inline TPixel operator()(const TPixel & A, const TPixel & B) const { diff --git a/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanErodeImageFilter.h b/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanErodeImageFilter.h index a43238124b2..24a7c675bcf 100644 --- a/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanErodeImageFilter.h +++ b/Modules/Filtering/MathematicalMorphology/include/itkVanHerkGilWermanErodeImageFilter.h @@ -28,8 +28,6 @@ template class MinFunctor { public: - MinFunctor() = default; - ~MinFunctor() = default; inline TPixel operator()(const TPixel & A, const TPixel & B) const {