Commit bd511aec authored by Guillaume Pasero's avatar Guillaume Pasero

WRG: missing override

parent afd4fdb1
Pipeline #3213 failed with stages
in 2 minutes and 58 seconds
......@@ -164,7 +164,7 @@ otb::ogr::DataSource::Pointer VectorPrediction<RegressionMode>::ReopenDataSource
}
template <bool RegressionMode>
otb::ogr::DataSource::Pointer VectorPrediction<RegressionMode>::CreateOutputDataSource(ogr::DataSource::Pointer source, ogr::Layer& layer)
otb::ogr::DataSource::Pointer VectorPrediction<RegressionMode>::CreateOutputDataSource(ogr::DataSource::Pointer /*source*/, ogr::Layer& layer)
{
ogr::DataSource::Pointer output;
// Create new OGRDataSource
......
......@@ -31,7 +31,7 @@ namespace otb
{
void bands::Eval(mup::ptr_val_type& ret, const mup::ptr_val_type* a_pArg, int a_iArgc)
void bands::Eval(mup::ptr_val_type& ret, const mup::ptr_val_type* a_pArg, int otbUseInDebug(a_iArgc) )
{
assert (a_iArgc == 2);
......
......@@ -127,7 +127,7 @@ protected:
}
/** Overrided methods */
virtual void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) override;
private:
InternalValueType m_FeatheringTransitionDistance; // feathering transition
......
......@@ -116,7 +116,7 @@ protected:
}
/** Overrided method */
virtual void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) override;
}; // end of class
......
......@@ -167,13 +167,13 @@ protected:
/**
* Methods
*/
virtual void GenerateOutputInformation(void);
void GenerateOutputInformation(void) override;
virtual void GenerateInputRequestedRegion(void);
void GenerateInputRequestedRegion(void) override;
virtual void AfterThreadedGenerateData();
void AfterThreadedGenerateData() override;
virtual void BeforeThreadedGenerateData();
void BeforeThreadedGenerateData() override;
/** Image extent computing */
virtual void ImageToExtent(InputImageType* image, InputImagePointType& extentInf, InputImagePointType& extentSup);
......
......@@ -100,11 +100,11 @@ protected:
}
/* Overrided methods */
virtual void AddUsedInputImageIndex(unsigned int inputImageIndex);
void AddUsedInputImageIndex(unsigned int inputImageIndex) override;
virtual unsigned int GetNumberOfInputImages();
unsigned int GetNumberOfInputImages() override;
virtual unsigned int GetUsedInputImageIndice(unsigned int i)
unsigned int GetUsedInputImageIndice(unsigned int i) override
{
return 0.5 * Superclass::GetUsedInputImageIndice(i);
}
......
......@@ -84,7 +84,7 @@ protected:
}
/** Overrided methods */
virtual void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) override;
private:
StreamingSimpleMosaicFilter(const Self&); // purposely not implemented
......
......@@ -96,13 +96,13 @@ public:
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType;
/** Overrided methods */
virtual void AllocateOutputs();
virtual void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
virtual void Reset();
virtual void Synthetize();
void AllocateOutputs() override;
void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) override;
void Reset() override;
void Synthetize() override;
/** Make a DataObject of the correct type to be used as the specified output. */
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override;
using Superclass::MakeOutput;
/** Return the computed Mean. */
......@@ -432,7 +432,7 @@ protected:
/** Constructor */
StreamingStatisticsMosaicFilter(){};
/** Destructor */
~StreamingStatisticsMosaicFilter() ITK_OVERRIDE
~StreamingStatisticsMosaicFilter() override
{
}
......
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