Commit 9bd55905 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois

REFAC: add ITK_DELETE_FUNCTION.

parent e02aaba0
......@@ -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)
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment