Commit cc69d1c
committed
COMP: Fix linux compilation warning
Modules/Core/Common/test/itkImageBufferRangeGTest.cxx: In lambda function:
Modules/Core/Common/test/itkImageBufferRangeGTest.cxx:670:61:
warning: declaration of 'n' shadows a previous local [-Wshadow]
670 | const auto expectedResult = [&r](const difference_type n) {
| ^
Modules/Core/Common/test/itkImageBufferRangeGTest.cxx:667:31:
note: shadowed declaration is here
667 | constexpr difference_type n = 3;
| ^
Modules/Core/Common/test/itkImageBufferRangeGTest.cxx: In lambda function:1 parent f17aa08 commit cc69d1c
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
| 693 | + | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
| 707 | + | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
| 722 | + | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
| 725 | + | |
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| |||
0 commit comments