diff --git a/Modules/Learning/Unsupervised/include/otbContingencyTable.h b/Modules/Learning/Unsupervised/include/otbContingencyTable.h index bb3414f754bb70550dcdfe02382a1831628075b8..e1facdfa44d73f7107596e5fffe092538858b499 100644 --- a/Modules/Learning/Unsupervised/include/otbContingencyTable.h +++ b/Modules/Learning/Unsupervised/include/otbContingencyTable.h @@ -144,8 +144,8 @@ protected: } private: - ContingencyTable(const Self &); //purposely not implemented - void operator=(const Self &); //purposely not implemented + ContingencyTable(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented + void operator=(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented static size_t GetLabelsMaximumLength(const LabelList& labels, size_t maxWidth) { diff --git a/Modules/Learning/Unsupervised/include/otbContingencyTableCalculator.h b/Modules/Learning/Unsupervised/include/otbContingencyTableCalculator.h index b8d8d924af49ed402c70cad906854560f0f4e9db..328696c4e38d13f0341039856600a9c798759b07 100644 --- a/Modules/Learning/Unsupervised/include/otbContingencyTableCalculator.h +++ b/Modules/Learning/Unsupervised/include/otbContingencyTableCalculator.h @@ -87,8 +87,8 @@ protected: //void PrintSelf(std::ostream& os, itk::Indent indent) const ITK_OVERRIDE; private: - ContingencyTableCalculator(const Self &); //purposely not implemented - void operator=(const Self &); //purposely not implemented + ContingencyTableCalculator(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented + void operator=(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented MapOfClassesType m_LabelCount; unsigned long m_NumberOfRefClasses; diff --git a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h index 3084b2503e8680fe36b60c0cf70b979bc7656cc9..22389a904b3076aee085bd85aa58fb75cb4a8ca0 100644 --- a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h +++ b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModel.h @@ -142,8 +142,8 @@ protected: void PrintSelf(std::ostream &os, itk::Indent indent) const; private: - SharkKMeansMachineLearningModel(const Self &); //purposely not implemented - void operator=(const Self &); //purposely not implemented + SharkKMeansMachineLearningModel(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented + void operator=(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented // Parameters set by the user bool m_Normalized; diff --git a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModelFactory.h b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModelFactory.h index a072d5d71921f24cc483e0193d3f0d04a4ab41d2..5ef843d4d87c4f075e452f811ded1cec879eedeb 100644 --- a/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModelFactory.h +++ b/Modules/Learning/Unsupervised/include/otbSharkKMeansMachineLearningModelFactory.h @@ -62,8 +62,8 @@ protected: virtual ~SharkKMeansMachineLearningModelFactory(); private: - SharkKMeansMachineLearningModelFactory(const Self &); //purposely not implemented - void operator =(const Self&); //purposely not implemented + SharkKMeansMachineLearningModelFactory(const Self &) ITK_DELETE_FUNCTION; //purposely not implemented + void operator =(const Self&) ITK_DELETE_FUNCTION; //purposely not implemented };