Skip to content

Commit 146c321

Browse files
committed
COMP: Use modern macro for name of class
When preparing for the future with ITK by setting ITK_FUTURE_LEGACY_REMOVE:BOOL=ON ITK_LEGACY_REMOVEBOOL=ON The future preferred macro should be used │ - itkTypeMacro │ + itkOverrideGetNameOfClassMacro
1 parent 2216e1b commit 146c321

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

include/itkDICOMOrientImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ITK_TEMPLATE_EXPORT DICOMOrientImageFilter : public ImageToImageFilter<TIn
9696
itkNewMacro(Self);
9797

9898
/** Runtime information support. */
99-
itkTypeMacro(DICOMOrientImageFilter, ImageToImageFilter);
99+
itkOverrideGetNameOfClassMacro(DICOMOrientImageFilter);
100100

101101
using OrientationEnum = DICOMOrientation::OrientationEnum;
102102

include/itkHessianImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class HessianImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
6666

6767

6868
/** Run-time type information (and related methods). */
69-
itkTypeMacro(HessianImageFilter, ImageToImageFilter);
69+
itkOverrideGetNameOfClassMacro(HessianImageFilter);
7070

7171
/** Method for creation through the object factory. */
7272
itkNewMacro(Self);

include/itkMaskedAssignImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class MaskedAssignImageFilter : public TernaryGeneratorImageFilter<TInputImage,
7474
itkNewMacro(Self);
7575

7676
/** Runtime information support. */
77-
itkTypeMacro(MaskedAssignImageFilter, TernaryGeneratorImageFilter);
77+
itkOverrideGetNameOfClassMacro(MaskedAssignImageFilter);
7878

7979
/** Typedefs **/
8080
using InputImageType = TInputImage;

include/itkNPasteImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ITK_TEMPLATE_EXPORT NPasteImageFilter : public InPlaceImageFilter<TInputIm
7272
itkNewMacro(Self);
7373

7474
/** Run-time type information (and related methods). */
75-
itkTypeMacro(NPasteImageFilter, InPlaceImageFilter);
75+
itkOverrideGetNameOfClassMacro(NPasteImageFilter);
7676

7777
/** Typedefs from Superclass */
7878
using InputImagePointer = typename Superclass::InputImagePointer;

include/itkObjectnessMeasureImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ObjectnessMeasureImageFilter : public ImageToImageFilter<TInputImage, TOut
9797
itkNewMacro(Self);
9898

9999
/** Runtime information support. */
100-
itkTypeMacro(ObjectnessMeasureImageFilter, ImageToImageFilter);
100+
itkOverrideGetNameOfClassMacro(ObjectnessMeasureImageFilter);
101101

102102

103103
/** Set/Get Alpha, the weight corresponding to R_A

0 commit comments

Comments
 (0)