Skip to content

Commit

Permalink
STYLE: Use the superclass name in itkTypeMacro
Browse files Browse the repository at this point in the history
Use the superclass name instead of the `Superclass` alias in
`itkTypeMacro`.
  • Loading branch information
jhlegarreta authored and dzenanz committed Apr 17, 2022
1 parent 748280c commit 4313386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Modules/IO/BioRad/include/itkBioRadImageIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ITKIOBioRad_EXPORT BioRadImageIO : public ImageIOBase
itkNewMacro(Self);

/** Run-time type information (and related methods). */
itkTypeMacro(BioRadImageIO, Superclass);
itkTypeMacro(BioRadImageIO, ImageIOBase);

/*-------- This part of the interface deals with reading data. ------ */

Expand Down
2 changes: 1 addition & 1 deletion Modules/IO/Stimulate/include/itkStimulateImageIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class ITKIOStimulate_EXPORT StimulateImageIO : public ImageIOBase
itkNewMacro(Self);

/** Run-time type information (and related methods). */
itkTypeMacro(StimulateImageIO, Superclass);
itkTypeMacro(StimulateImageIO, ImageIOBase);

/*-------- This part of the interface deals with reading data. ------ */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ITK_TEMPLATE_EXPORT RegistrationParameterScalesEstimator
using ConstPointer = SmartPointer<const Self>;

/** Run-time type information (and related methods). */
itkTypeMacro(RegistrationParameterScalesEstimator, Superclass);
itkTypeMacro(RegistrationParameterScalesEstimator, OptimizerParameterScalesEstimatorTemplate);

/** Type of scales */
using typename Superclass::ScalesType;
Expand Down

0 comments on commit 4313386

Please sign in to comment.