Skip to content

Commit

Permalink
BUG: Use the literal superclass name in itkTypeMacro
Browse files Browse the repository at this point in the history
Use the literal superclass name instead of the `Superclass` alias in
`itkTypeMacro`: the string is used in an ITK macro which is using the
input for run-time type information (although currently not using the
superclass input):
https://github.com/InsightSoftwareConsortium/ITK/blob/8844ee6549ebdc1294a17d471f8a65311440bd74/Modules/Core/Common/include/itkMacro.h#L438
  • Loading branch information
jhlegarreta authored and jcfr committed Dec 1, 2023
1 parent 4b2e7bd commit 5bb20b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/itkMGHImageIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class MGHIO_EXPORT MGHImageIO : public ImageIOBase
itkNewMacro(Self);

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

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

Expand Down

0 comments on commit 5bb20b7

Please sign in to comment.