diff --git a/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h b/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h index a3f15147ec8..1ccd349f54d 100644 --- a/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h +++ b/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h @@ -52,9 +52,9 @@ class vtkCaptureScreen } private: - vtkCaptureScreen(const vtkCaptureScreen &); + vtkCaptureScreen(const vtkCaptureScreen &) = delete; void - operator=(const vtkCaptureScreen &); + operator=(const vtkCaptureScreen &) = delete; vtkRenderWindow * m_Renderer{ nullptr }; diff --git a/Modules/Core/GPUCommon/include/itkGPUImageOps.h b/Modules/Core/GPUCommon/include/itkGPUImageOps.h index 5fcb10d9066..efd33a077f5 100644 --- a/Modules/Core/GPUCommon/include/itkGPUImageOps.h +++ b/Modules/Core/GPUCommon/include/itkGPUImageOps.h @@ -43,8 +43,8 @@ class GPUImageOps itkGetOpenCLSourceFromKernelMacro(GPUImageOpsKernel); private: - GPUImageOps(); - virtual ~GPUImageOps(); + GPUImageOps() = delete; + virtual ~GPUImageOps() = delete; }; diff --git a/Modules/Nonunit/Review/include/itkConstrainedRegionBasedLevelSetFunctionSharedData.h b/Modules/Nonunit/Review/include/itkConstrainedRegionBasedLevelSetFunctionSharedData.h index 3ac5cf7141e..bbd0631fd4e 100644 --- a/Modules/Nonunit/Review/include/itkConstrainedRegionBasedLevelSetFunctionSharedData.h +++ b/Modules/Nonunit/Review/include/itkConstrainedRegionBasedLevelSetFunctionSharedData.h @@ -182,13 +182,9 @@ class ConstrainedRegionBasedLevelSetFunctionSharedData ~ConstrainedRegionBasedLevelSetFunctionSharedData() override = default; private: - ConstrainedRegionBasedLevelSetFunctionSharedData(const Self &); // purposely - // not - // implemented + ConstrainedRegionBasedLevelSetFunctionSharedData(const Self &) = delete; void - operator=(const Self &); // purposely - // not - // implemented + operator=(const Self &) = delete; }; } // end namespace itk diff --git a/Modules/Nonunit/Review/include/itkUnconstrainedRegionBasedLevelSetFunctionSharedData.h b/Modules/Nonunit/Review/include/itkUnconstrainedRegionBasedLevelSetFunctionSharedData.h index 407988b7032..330e7302054 100644 --- a/Modules/Nonunit/Review/include/itkUnconstrainedRegionBasedLevelSetFunctionSharedData.h +++ b/Modules/Nonunit/Review/include/itkUnconstrainedRegionBasedLevelSetFunctionSharedData.h @@ -141,13 +141,9 @@ class UnconstrainedRegionBasedLevelSetFunctionSharedData ~UnconstrainedRegionBasedLevelSetFunctionSharedData() override = default; private: - UnconstrainedRegionBasedLevelSetFunctionSharedData(const Self &); // purposely - // not - // implemented + UnconstrainedRegionBasedLevelSetFunctionSharedData(const Self &) = delete; void - operator=(const Self &); // purposely - // not - // implemented + operator=(const Self &) = delete; }; } // end namespace itk diff --git a/Modules/Numerics/FEM/include/itkFEMLinearSystemWrapper.h b/Modules/Numerics/FEM/include/itkFEMLinearSystemWrapper.h index 922d15c4e2e..418049d2f42 100644 --- a/Modules/Numerics/FEM/include/itkFEMLinearSystemWrapper.h +++ b/Modules/Numerics/FEM/include/itkFEMLinearSystemWrapper.h @@ -532,11 +532,11 @@ class ITKFEM_EXPORT LinearSystemWrapper : public Solution unsigned int matrixIndex = 0); /** Copy constructor is not allowed. */ - LinearSystemWrapper(const LinearSystemWrapper &); + LinearSystemWrapper(const LinearSystemWrapper &) = delete; /** Asignment operator is not allowed. */ const LinearSystemWrapper & - operator=(const LinearSystemWrapper &); + operator=(const LinearSystemWrapper &) = delete; }; class ITK_ABI_EXPORT FEMExceptionLinearSystem : public FEMException