]> Creatis software - clitk.git/commitdiff
Fix deprecated warning (Begin -> GoToBegin)
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 3 Feb 2012 06:57:12 +0000 (07:57 +0100)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Mon, 8 Apr 2013 06:17:45 +0000 (08:17 +0200)
itk/clitkVectorBSplineDecompositionImageFilter.txx

index d64829ba09ac6c3cc87ac5eda11449ecfccd7484..7031745fec7e19f89eed894fd3ab844c3a3bcebc 100644 (file)
@@ -281,8 +281,8 @@ VectorBSplineDecompositionImageFilter<TInputImage, TOutputImage>
   InputIterator inIt( this->GetInput(), this->GetInput()->GetBufferedRegion() );
   OutputIterator outIt( this->GetOutput(), this->GetOutput()->GetBufferedRegion() );
 
-  inIt = inIt.Begin();
-  outIt = outIt.Begin();
+  inIt.GoToBegin();
+  outIt.GoToBegin();
   OutputPixelType v;
   while ( !outIt.IsAtEnd() ) {
     for (unsigned int i=0; i< VectorDimension; i++) {