Skip to content

Commit

Permalink
COMP: PyUtils: Replace itkTypeMacro with itkOverrideGetNameOfClassMacro
Browse files Browse the repository at this point in the history
Follow-up to pull request #4373
commit 2c264ea
"STYLE: Replace itkTypeMacro calls with `itkOverrideGetNameOfClassMacro`"
  • Loading branch information
N-Dekker authored and hjmjohnson committed Jan 2, 2024
1 parent e76c372 commit c1af2b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Wrapping/Generators/Python/PyUtils/itkPyCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PyCommand : public Command
using Pointer = SmartPointer<Self>;

///! Run-time type information (and related methods).
itkTypeMacro(PyCommand, Command);
itkOverrideGetNameOfClassMacro(PyCommand);

///! Method for creation through the object factory.
itkNewMacro(Self);
Expand Down
2 changes: 1 addition & 1 deletion Wrapping/Generators/Python/PyUtils/itkPyImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ITK_TEMPLATE_EXPORT PyImageFilter : public ImageToImageFilter<TInputImage,
itkNewMacro(Self);

/** Run-time type information (and related methods). */
itkTypeMacro(PyImageFilter, ImageToImageFilter);
itkOverrideGetNameOfClassMacro(PyImageFilter);

/** Some convenient type alias. */
using InputImageType = TInputImage;
Expand Down

0 comments on commit c1af2b7

Please sign in to comment.