Skip to content

Commit fad9774

Browse files
author
Jon Haitz Legarreta
committed
COMP: Move ITK_DISALLOW_COPY_AND_ASSIGN calls to public section.
Move `ITK_DISALLOW_COPY_AND_ASSIGN` calls to public section following the discussion in https://discourse.itk.org/t/noncopyable If legacy (pre-macro) copy and assing methods existed, subsitute them for the `ITK_DISALLOW_COPY_AND_ASSIGN` macro.
1 parent 15adda3 commit fad9774

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/itkFirstOrderTextureFeaturesImageFilter.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ class ITK_TEMPLATE_EXPORT FirstOrderTextureFeaturesImageFilter:
5757
typename TOutputImage::PixelType > >
5858
{
5959
public:
60+
ITK_DISALLOW_COPY_AND_ASSIGN(FirstOrderTextureFeaturesImageFilter);
61+
6062
/** Standard class type alias. */
6163
using Self = FirstOrderTextureFeaturesImageFilter;
6264
using Superclass = MovingHistogramImageFilter< TInputImage, TOutputImage, TKernel,
@@ -112,10 +114,7 @@ class ITK_TEMPLATE_EXPORT FirstOrderTextureFeaturesImageFilter:
112114

113115

114116
~FirstOrderTextureFeaturesImageFilter() override {}
115-
private:
116-
FirstOrderTextureFeaturesImageFilter(const Self &); //purposely not implemented
117-
void operator=(const Self &); //purposely not implemented
118-
}; // end of class
117+
};
119118
} // end namespace itk
120119

121120
#endif

0 commit comments

Comments
 (0)