Skip to content

Commit

Permalink
COMP: Fix missing initialization braces warning
Browse files Browse the repository at this point in the history
Fix missing initialization braces warning.

Fixes:
```
[CTest: warning matched]
/Users/builder/externalModules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx:59:37:
warning: suggest braces around initialization of subobject [-Wmissing-braces]
    largestPossibleRegion.SetSize({ 4 });
                                    ^
                                    {}
```

reported at:
https://open.cdash.org/viewBuildError.php?type=1&buildid=7496967
  • Loading branch information
jhlegarreta committed Oct 6, 2021
1 parent c54ad67 commit c19cdcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ITK_TEMPLATE_EXPORT DummyImageSource : public ImageSource<TOutputImage>
TOutputImage * output = nullptr;
output = this->GetOutput(0);
typename TOutputImage::RegionType largestPossibleRegion;
largestPossibleRegion.SetSize({ 4 });
largestPossibleRegion.SetSize({ { 4 } });
output->SetLargestPossibleRegion(largestPossibleRegion);
}

Expand Down

0 comments on commit c19cdcd

Please sign in to comment.