Skip to content

Commit

Permalink
STYLE: Default default-constructor of PyImageFilter
Browse files Browse the repository at this point in the history
Found by regular expression `::.+\(\)\r\n{}` in "itk*.hxx" files

Suggested by Denis Shamonin.
  • Loading branch information
N-Dekker committed Jan 29, 2025
1 parent eb490ff commit a39bc1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkPyImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ITK_TEMPLATE_EXPORT PyImageFilter : public ImageToImageFilter<TInputImage,
}

protected:
PyImageFilter();
PyImageFilter() = default;
~PyImageFilter() override;

void
Expand Down
4 changes: 0 additions & 4 deletions Modules/Core/Common/include/itkPyImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
namespace itk
{

template <class TInputImage, class TOutputImage>
PyImageFilter<TInputImage, TOutputImage>::PyImageFilter()
{}

template <class TInputImage, class TOutputImage>
PyImageFilter<TInputImage, TOutputImage>::~PyImageFilter()
{
Expand Down

0 comments on commit a39bc1c

Please # to comment.