Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

COMP: Use modern macro for name of class #42

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

hjmjohnson
Copy link
Member

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);

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);
@hjmjohnson hjmjohnson requested a review from dzenanz January 25, 2025 15:39
@hjmjohnson hjmjohnson self-assigned this Jan 25, 2025
@hjmjohnson hjmjohnson merged commit 969f182 into main Jan 25, 2025
17 of 55 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants