Skip to content
Snippets Groups Projects
Commit bcfc0ec5 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: remove overloaded-virtual warning

parent 7937bd82
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment