Commit d47ebb48 authored by Julien Malik's avatar Julien Malik

COMP: use GoToBegin instead of Begin to support ITK_LEGACY_REMOVE

parent 81444175
...@@ -582,7 +582,7 @@ private: ...@@ -582,7 +582,7 @@ private:
// Update region sizes // Update region sizes
LabelImageIterator it( changeLabel->GetOutput(), changeLabel->GetOutput()->GetLargestPossibleRegion()); LabelImageIterator it( changeLabel->GetOutput(), changeLabel->GetOutput()->GetLargestPossibleRegion());
for (it = it.Begin(); !it.IsAtEnd(); ++it) for (it.GoToBegin(); !it.IsAtEnd(); ++it)
{ {
sizePerRegion[it.Value()]+=1; sizePerRegion[it.Value()]+=1;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment