Skip to content

Commit

Permalink
STYLE: Remove redundant void argument lists
Browse files Browse the repository at this point in the history
Find and remove redundant void argument lists.
  • Loading branch information
hjmjohnson committed Dec 22, 2024
1 parent ac77fef commit 5edc651
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ITK_TEMPLATE_EXPORT SpatialObjectReader : public Object
void
SetMetaIOVersion(unsigned int ver);
unsigned int
GetMetaIOVersion(void) const;
GetMetaIOVersion() const;

/** Set the filename */
itkSetStringMacro(FileName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ SpatialObjectReader<VDimension, PixelType, TMeshTraits>::SetMetaIOVersion(unsign

template <unsigned int VDimension, typename PixelType, typename TMeshTraits>
unsigned int
SpatialObjectReader<VDimension, PixelType, TMeshTraits>::GetMetaIOVersion(void) const
SpatialObjectReader<VDimension, PixelType, TMeshTraits>::GetMetaIOVersion() const
{
return m_MetaToSpatialConverter->GetMetaIOVersion();
}
Expand Down
2 changes: 1 addition & 1 deletion Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ITK_TEMPLATE_EXPORT SpatialObjectWriter : public Object
void
SetMetaIOVersion(unsigned int ver);
unsigned int
GetMetaIOVersion(void) const;
GetMetaIOVersion() const;

void
SetTransformPrecision(unsigned int precision);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SpatialObjectWriter<VDimension, PixelType, TMeshTraits>::SetMetaIOVersion(unsign

template <unsigned int VDimension, typename PixelType, typename TMeshTraits>
unsigned int
SpatialObjectWriter<VDimension, PixelType, TMeshTraits>::GetMetaIOVersion(void) const
SpatialObjectWriter<VDimension, PixelType, TMeshTraits>::GetMetaIOVersion() const
{
return m_MetaToSpatialConverter->GetMetaIOVersion();
}
Expand Down

0 comments on commit 5edc651

Please sign in to comment.