Skip to content
Snippets Groups Projects
Commit 9c353a93 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

REFAC: remove deprecated method in ConfusionMatrixCalculator

parent 38744451
Branches
Tags
No related merge requests found
......@@ -91,12 +91,6 @@ public:
/** Type for the measurement */
typedef itk::VariableLengthVector<double> MeasurementType;
/**
* \deprecated in OTB 3.16, please use void Compute(void) instead.
*/
itkLegacyMacro( virtual void Update() );
/** Computes m_ConfusionMatrix and then the measurements over it. */
void Compute(void);
......
......@@ -48,21 +48,6 @@ ConfusionMatrixCalculator<TRefListLabel, TProdListLabel>
m_ProducedLabels = ProdListLabelType::New();
}
#if !defined(ITK_LEGACY_REMOVE)
template <class TRefListLabel, class TProdListLabel>
void
ConfusionMatrixCalculator<TRefListLabel, TProdListLabel>
::Update()
{
itkWarningMacro("otb::ConfusionMatrixCalculator::Update() is DEPRECATED. "
"Use otb::ConfusionMatrixCalculator::Compute() instead.");
this->Compute();
}
#endif
template <class TRefListLabel, class TProdListLabel>
void
ConfusionMatrixCalculator<TRefListLabel, TProdListLabel>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment