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

COMP: fix overloaded-virtual warning

parent 7128d2e5
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ protected: ...@@ -117,7 +117,7 @@ protected:
/** Call the superclass implementation and set the TablesHaveBeenGenerated /** Call the superclass implementation and set the TablesHaveBeenGenerated
* flag to false */ * flag to false */
virtual void Modified(void); virtual void Modified(void) const;
/** Delete tables.*/ /** Delete tables.*/
virtual void ResetOffsetTable(); virtual void ResetOffsetTable();
......
...@@ -83,7 +83,7 @@ GenericInterpolateImageFunction<TInputImage, TFunction, TBoundaryCondition, TCoo ...@@ -83,7 +83,7 @@ GenericInterpolateImageFunction<TInputImage, TFunction, TBoundaryCondition, TCoo
template<class TInputImage, class TFunction, class TBoundaryCondition, class TCoordRep> template<class TInputImage, class TFunction, class TBoundaryCondition, class TCoordRep>
void void
GenericInterpolateImageFunction<TInputImage, TFunction, TBoundaryCondition, TCoordRep> GenericInterpolateImageFunction<TInputImage, TFunction, TBoundaryCondition, TCoordRep>
::Modified() ::Modified() const
{ {
Superclass::Modified(); Superclass::Modified();
m_TablesHaveBeenGenerated = false; m_TablesHaveBeenGenerated = false;
......
...@@ -55,6 +55,7 @@ class ITK_EXPORT ProspectModel : public SimulationStep1Base ...@@ -55,6 +55,7 @@ class ITK_EXPORT ProspectModel : public SimulationStep1Base
itkTypeMacro(ProspectModel, SpectrumGeneratorBase); itkTypeMacro(ProspectModel, SpectrumGeneratorBase);
/** Set/Get Input */ /** Set/Get Input */
using Superclass::SetInput;
virtual void SetInput(const ParametersType &); virtual void SetInput(const ParametersType &);
void SetInput(const LeafParametersType *object); void SetInput(const LeafParametersType *object);
LeafParametersType * GetInput(); LeafParametersType * GetInput();
......
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