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

BACKOUT: backing out 0bcb81674edd

parent e621b23d
No related branches found
No related tags found
No related merge requests found
......@@ -672,8 +672,11 @@ StreamingImageFileWriter<TInputImage>
cacheImage->SetBufferedRegion(ioRegion);
cacheImage->Allocate();
itk::ImageRegionConstIterator<TInputImage> in(input, ioRegion);
itk::ImageRegionIterator<TInputImage> out(cacheImage, ioRegion);
typedef itk::ImageRegionConstIterator<TInputImage> ConstIteratorType;
typedef itk::ImageRegionIterator<TInputImage> IteratorType;
ConstIteratorType in(input, ioRegion);
IteratorType 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