Commit 1dfd76b
committed
STYLE: Move iterator declaration to
Reduced the scope of the local `inputIt` variable in `GenerateDataForLabels()`,
by moving its declaration into the _init-statement_ of its `for` loop. Following
C++ Core Guidelines, Jul 8, 2025 "Declare names in for-statement initializers
and conditions to limit scope",
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#res-cond
Removed the `inputIt.GoToBegin()` call, following pull request
#5736
commit f10bd8f
"STYLE: Remove GoToBegin() calls on ImageRegionIteratorWithIndex"for ContourExtractor2DImageFilter1 parent 4be530e commit 1dfd76b
File tree
1 file changed
+1
-2
lines changed- Modules/Filtering/Path/include
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
| |||
0 commit comments