Skip to content
Snippets Groups Projects
Commit e6fb07ce authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: should fix an issue with otb-wrapping compilation

parent 1c5cd434
No related branches found
No related tags found
No related merge requests found
......@@ -669,11 +669,8 @@ StreamingImageFileWriter<TInputImage>
cacheImage->SetBufferedRegion(ioRegion);
cacheImage->Allocate();
typedef itk::ImageRegionConstIterator<TInputImage> ConstIteratorType;
typedef itk::ImageRegionIterator<TInputImage> IteratorType;
ConstIteratorType in(input, ioRegion);
IteratorType out(cacheImage, ioRegion);
itk::ImageRegionConstIterator<TInputImage> in(input, ioRegion);
itk::ImageRegionIterator<TInputImage> out(cacheImage, ioRegion);
// copy the data into a buffer to match the ioregion
for (in.GoToBegin(), out.GoToBegin(); !in.IsAtEnd(); ++in, ++out)
......
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