Skip to content

Commit ae9c326

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(MGHImageIOFactory, ObjectFactoryBase); │ + itkOverrideGetNameOfClassMacro(MGHImageIOFactory);
1 parent a3a9702 commit ae9c326

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/itkMGHImageIO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class MGHIO_EXPORT MGHImageIO : public ImageIOBase
5050
itkNewMacro(Self);
5151

5252
/** Run-time type information (and related methods). */
53-
itkTypeMacro(MGHImageIO, ImageIOBase);
53+
itkOverrideGetNameOfClassMacro(MGHImageIO);
5454

5555
/*-------- This part of the interfaces deals with reading data. ----- */
5656

include/itkMGHImageIOFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class MGHIO_EXPORT MGHImageIOFactory : public ObjectFactoryBase
5252
itkFactorylessNewMacro(Self);
5353

5454
/** Run-time type information (and related methods). */
55-
itkTypeMacro(MGHImageIOFactory, ObjectFactoryBase);
55+
itkOverrideGetNameOfClassMacro(MGHImageIOFactory);
5656

5757
/** Register one factory of this type */
5858
static void

0 commit comments

Comments
 (0)