Skip to content

Commit

Permalink
ENH: Use itkOverrideGetNameOfClassMacro as per ITK PR 4373
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz authored and jhlegarreta committed Jun 11, 2024
1 parent 0d54bc7 commit b327203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class {{ cookiecutter.module_name }}_EXPORT MinimalStandardRandomVariateGenerato
using NormalGeneratorType = itk::Statistics::NormalVariateGenerator;

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

/** Method for creation through the object factory. */
itkNewMacro(Self);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class {{ cookiecutter.filter_name }} : public ImageToImageFilter<TInputImage, TO
using ConstPointer = SmartPointer<const Self>;

/** Run-time type information. */
itkTypeMacro({{ cookiecutter.filter_name }}, ImageToImageFilter);
itkOverrideGetNameOfClassMacro({{ cookiecutter.filter_name }});

/** Standard New macro. */
itkNewMacro(Self);
Expand Down

0 comments on commit b327203

Please sign in to comment.