From 5edc651aba3066d4d51fe0b0428f994da1a7f29e Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Sat, 21 Dec 2024 11:45:33 -0600 Subject: [PATCH] STYLE: Remove redundant void argument lists Find and remove redundant void argument lists. --- Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h | 2 +- Modules/IO/SpatialObjects/include/itkSpatialObjectReader.hxx | 2 +- Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h | 2 +- Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.hxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h b/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h index 9cdb0355e07..a923fdacd29 100644 --- a/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h +++ b/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.h @@ -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); diff --git a/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.hxx b/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.hxx index d86f1abf5b4..5e763b213cb 100644 --- a/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.hxx +++ b/Modules/IO/SpatialObjects/include/itkSpatialObjectReader.hxx @@ -52,7 +52,7 @@ SpatialObjectReader::SetMetaIOVersion(unsign template unsigned int -SpatialObjectReader::GetMetaIOVersion(void) const +SpatialObjectReader::GetMetaIOVersion() const { return m_MetaToSpatialConverter->GetMetaIOVersion(); } diff --git a/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h b/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h index 9e0a6258bda..f246523404c 100644 --- a/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h +++ b/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.h @@ -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); diff --git a/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.hxx b/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.hxx index 5e2de020732..20987aea2e9 100644 --- a/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.hxx +++ b/Modules/IO/SpatialObjects/include/itkSpatialObjectWriter.hxx @@ -40,7 +40,7 @@ SpatialObjectWriter::SetMetaIOVersion(unsign template unsigned int -SpatialObjectWriter::GetMetaIOVersion(void) const +SpatialObjectWriter::GetMetaIOVersion() const { return m_MetaToSpatialConverter->GetMetaIOVersion(); }