Skip to content

Commit

Permalink
ENH: Remove ivar memberless PrintSelf implementation
Browse files Browse the repository at this point in the history
Remove `PrintSelf` re-implementations across miscellaneous
interpolation/extrapolation image function classes that do not contain
instance variable members as their parent class re-implementation prints
the necessary information.

Follow-up to d2ff311.
  • Loading branch information
jhlegarreta authored and dzenanz committed Sep 1, 2023
1 parent 873a724 commit 3a73368
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Expand Up @@ -110,11 +110,6 @@ class ExtrapolateImageFunction
protected:
ExtrapolateImageFunction() = default;
~ExtrapolateImageFunction() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override
{
Superclass::PrintSelf(os, indent);
}
};
} // end namespace itk

Expand Down
Expand Up @@ -137,11 +137,6 @@ class ITK_TEMPLATE_EXPORT VectorInterpolateImageFunction
protected:
VectorInterpolateImageFunction() = default;
~VectorInterpolateImageFunction() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override
{
Superclass::PrintSelf(os, indent);
}
};
} // end namespace itk

Expand Down
Expand Up @@ -99,11 +99,6 @@ class ITK_TEMPLATE_EXPORT VectorNearestNeighborInterpolateImageFunction
protected:
VectorNearestNeighborInterpolateImageFunction() = default;
~VectorNearestNeighborInterpolateImageFunction() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override
{
Superclass::PrintSelf(os, indent);
}
};
} // end namespace itk

Expand Down

0 comments on commit 3a73368

Please sign in to comment.