From c19cdcdf4e28d16a63991c4f7bd91602f928d7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Wed, 6 Oct 2021 13:49:01 -0400 Subject: [PATCH] COMP: Fix missing initialization braces warning 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 --- Modules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx b/Modules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx index ea9bb5bf96e..61fa08a08fc 100644 --- a/Modules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx +++ b/Modules/Core/Common/test/itkMultiThreaderExceptionsTest.cxx @@ -56,7 +56,7 @@ class ITK_TEMPLATE_EXPORT DummyImageSource : public ImageSource TOutputImage * output = nullptr; output = this->GetOutput(0); typename TOutputImage::RegionType largestPossibleRegion; - largestPossibleRegion.SetSize({ 4 }); + largestPossibleRegion.SetSize({ { 4 } }); output->SetLargestPossibleRegion(largestPossibleRegion); }