Skip to content
Snippets Groups Projects
Commit b4b257f2 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

WRG: fix a warning raised by OTBIce:

the prototype of the function is not compatible with the original function into itk:ProcessObject
parent 325903c7
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ protected:
ListSampleToHistogramListGenerator();
virtual ~ListSampleToHistogramListGenerator() {}
void GenerateData();
DataObjectPointer MakeOutput(unsigned int idx);
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx);
void PrintSelf(std::ostream& os, itk::Indent indent) const;
private:
......
......@@ -90,7 +90,7 @@ template<class TListSample, class THistogramMeasurement, class TFrequencyContain
typename ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer>
::DataObjectPointer
ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer>
::MakeOutput(unsigned int idx)
::MakeOutput(DataObjectPointerArraySizeType idx)
{
DataObjectPointer output;
output = static_cast<itk::DataObject*>(HistogramListType::New().GetPointer());
......
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