Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Move ITK_DISALLOW_COPY_AND_ASSIGN calls to public section. #5

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions include/itkLabelImageGenericInterpolateImageFunction.h
Expand Up @@ -42,6 +42,8 @@ class ITK_EXPORT LabelImageGenericInterpolateImageFunction :
public InterpolateImageFunction<TInputImage, TCoordRep>
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(LabelImageGenericInterpolateImageFunction);

/** Standard class type alias. */
using Self = LabelImageGenericInterpolateImageFunction;
using Superclass = InterpolateImageFunction<TInputImage, TCoordRep>;
Expand Down Expand Up @@ -99,9 +101,6 @@ class ITK_EXPORT LabelImageGenericInterpolateImageFunction :
LabelSetType m_Labels;

private:
LabelImageGenericInterpolateImageFunction( const Self& ); //purposely not implemented
void operator=( const Self& ); //purposely not implemented

/**
* Evaluate function value at the given index
*/
Expand Down
6 changes: 2 additions & 4 deletions include/itkLabelSelectionImageAdaptor.h
Expand Up @@ -40,6 +40,8 @@ class ITK_EXPORT LabelSelectionImageAdaptor:public
TOutputPixelType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(LabelSelectionImageAdaptor);

/** Standard class type alias. */
using Self = LabelSelectionImageAdaptor;
using Superclass = ImageAdaptor< TImage, Accessor::LabelSelectionPixelAccessor<
Expand All @@ -62,10 +64,6 @@ class ITK_EXPORT LabelSelectionImageAdaptor:public
protected:
LabelSelectionImageAdaptor() {}
~LabelSelectionImageAdaptor() override {}

private:
LabelSelectionImageAdaptor(const Self &); //purposely not implemented
void operator=(const Self &); //purposely not implemented
};
} // end namespace itk

Expand Down