From e6fb07ce37f3d62761114be3268448e1769cec4e Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Wed, 23 Nov 2011 16:45:31 +0100 Subject: [PATCH] COMP: should fix an issue with otb-wrapping compilation --- Code/IO/otbStreamingImageFileWriter.txx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Code/IO/otbStreamingImageFileWriter.txx b/Code/IO/otbStreamingImageFileWriter.txx index f62c133370..20282ddbae 100644 --- a/Code/IO/otbStreamingImageFileWriter.txx +++ b/Code/IO/otbStreamingImageFileWriter.txx @@ -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) -- GitLab