Commit bcfc0ec5 authored by Julien Malik's avatar Julien Malik

COMP: remove overloaded-virtual warning

parent 7937bd82
......@@ -307,7 +307,7 @@ protected:
void ComputeInternalStatistics(void);
/** Call the superclass implementation and set the StatisticsHaveBeenGenerated
* flag to false */
virtual void Modified(void);
virtual void Modified(void) const;
private:
/** Ponderation declaration*/
......@@ -322,7 +322,7 @@ private:
/** Optimisation matrix */
MatrixType m_Vcondopt;
/** True if internal statistics have been generated */
bool m_StatisticsHaveBeenGenerated;
mutable bool m_StatisticsHaveBeenGenerated;
};
} // end namespace otb
......
......@@ -62,7 +62,7 @@ BayesianFusionFilter<TInputMultiSpectralImage,
TInputMultiSpectralInterpImage,
TInputPanchroImage,
TOutputImage>
::Modified()
::Modified() const
{
Superclass::Modified();
m_StatisticsHaveBeenGenerated = false;
......
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