Skip to content

Commit

Permalink
Merge pull request InsightSoftwareConsortium#5105 from InsightSoftwar…
Browse files Browse the repository at this point in the history
…eConsortium/remove-redundant-void

STYLE: Remove redundant void argument lists
  • Loading branch information
jhlegarreta authored Dec 26, 2024
2 parents ac77fef + 5edc651 commit 8e039bb
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 8e039bb

Please sign in to comment.