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: Fix implicit copy constructor definition deprecation warnings #4639

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Modules/IO/ImageBase/include/itkImageFileReaderException.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ class ITKIOImageBase_EXPORT ImageFileReaderException : public ExceptionObject

/** Has to have empty throw(). */
~ImageFileReaderException() noexcept override;

ImageFileReaderException(const ImageFileReaderException &) = default;
ImageFileReaderException(ImageFileReaderException &&) = default;
ImageFileReaderException &
operator=(const ImageFileReaderException &) = default;
ImageFileReaderException &
operator=(ImageFileReaderException &&) = default;
};
} // namespace itk
#endif // itkImageFileReaderException_h
7 changes: 7 additions & 0 deletions Modules/IO/ImageBase/include/itkImageFileWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ class ITKIOImageBase_EXPORT ImageFileWriterException : public ExceptionObject

/** Has to have empty throw(). */
~ImageFileWriterException() noexcept override;

ImageFileWriterException(const ImageFileWriterException &) = default;
ImageFileWriterException(ImageFileWriterException &&) = default;
ImageFileWriterException &
operator=(const ImageFileWriterException &) = default;
ImageFileWriterException &
operator=(ImageFileWriterException &&) = default;
};

/** \class ImageFileWriter
Expand Down
7 changes: 7 additions & 0 deletions Modules/IO/MeshBase/include/itkMeshFileReaderException.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ class ITKIOMeshBase_EXPORT MeshFileReaderException : public ExceptionObject
unsigned int line,
const char * message = "Error in IO",
const char * loc = "Unknown");

MeshFileReaderException(const MeshFileReaderException &) = default;
MeshFileReaderException(MeshFileReaderException &&) = default;
MeshFileReaderException &
operator=(const MeshFileReaderException &) = default;
MeshFileReaderException &
operator=(MeshFileReaderException &&) = default;
};
} // end namespace itk

Expand Down
7 changes: 7 additions & 0 deletions Modules/IO/MeshBase/include/itkMeshFileWriterException.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ class ITKIOMeshBase_EXPORT MeshFileWriterException : public ExceptionObject
unsigned int line,
const char * message = "Error in IO",
const char * loc = "Unknown");

MeshFileWriterException(const MeshFileWriterException &) = default;
MeshFileWriterException(MeshFileWriterException &&) = default;
MeshFileWriterException &
operator=(const MeshFileWriterException &) = default;
MeshFileWriterException &
operator=(MeshFileWriterException &&) = default;
};
} // end namespace itk

Expand Down