diff --git a/Modules/IO/ImageBase/include/itkImageFileReaderException.h b/Modules/IO/ImageBase/include/itkImageFileReaderException.h index a6e6192e460..5855b387ea8 100644 --- a/Modules/IO/ImageBase/include/itkImageFileReaderException.h +++ b/Modules/IO/ImageBase/include/itkImageFileReaderException.h @@ -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 diff --git a/Modules/IO/ImageBase/include/itkImageFileWriter.h b/Modules/IO/ImageBase/include/itkImageFileWriter.h index 651213435c9..7cecf9ca096 100644 --- a/Modules/IO/ImageBase/include/itkImageFileWriter.h +++ b/Modules/IO/ImageBase/include/itkImageFileWriter.h @@ -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 diff --git a/Modules/IO/MeshBase/include/itkMeshFileReaderException.h b/Modules/IO/MeshBase/include/itkMeshFileReaderException.h index b8c2dc80b5d..64c6eaaf384 100644 --- a/Modules/IO/MeshBase/include/itkMeshFileReaderException.h +++ b/Modules/IO/MeshBase/include/itkMeshFileReaderException.h @@ -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 diff --git a/Modules/IO/MeshBase/include/itkMeshFileWriterException.h b/Modules/IO/MeshBase/include/itkMeshFileWriterException.h index 3012219c18a..bba41cdf8d5 100644 --- a/Modules/IO/MeshBase/include/itkMeshFileWriterException.h +++ b/Modules/IO/MeshBase/include/itkMeshFileWriterException.h @@ -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