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