COMP: Use modern macro for name of class#126
Merged
dzenanz merged 4 commits intoKitwareMedical:mainfrom Mar 14, 2025
Merged
Conversation
Contributor
Author
|
@dzenanz This is part of an effort to create a v5.4.2.1 release that allows Slicer to build with ITK_LEGACY_REMOVE and ITK_FUTURE_LEGACY_REMOVE turned on. It is an intermediate refactoring that is upstream compatible but allows Slicer to catch up more slowly. |
12 tasks
Contributor
Author
|
@dzenanz Part of the future updates needed to build Slicer with future code recommendationsl |
53b8a4f to
9fdec0a
Compare
Member
|
This sounds like WASM part needs to be updated to use a newer base image: |
Collaborator
|
Is |
Member
|
Yes, it was added in Dec 2023. |
Member
Collaborator
|
I will rebase, follow-up. |
Member
|
Can you rebase this Hans? |
2450049 to
8ca113c
Compare
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
Update source to match newer ITK style guidelines.
6d8a46d to
4a552c6
Compare
Contributor
Author
|
@dzenanz Rebased. |
dzenanz
approved these changes
Mar 14, 2025
Member
|
Matt, would changes from InsightSoftwareConsortium/ITKMeshToPolyData#77 work here? |
Collaborator
|
Wasm updates for ITK 5.4.2 are here: #130 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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