Skip to content

Commit

Permalink
COMP: Address brace initializer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp authored and hjmjohnson committed Dec 14, 2020
1 parent 9f6e623 commit b1fc86a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/IO/ImageBase/test/itkWriteImageFunctionGTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ struct ITKWriteImageFunctionTest : public ::testing::Test
itksys::SystemTools::ChangeDirectory(STRING(ITK_TEST_OUTPUT_DIR_STR));
}
using ImageType = itk::Image<float, 2>;
using RegionType = ImageType::RegionType;
using SizeType = ImageType::SizeType;

ImageType::Pointer
MakeImage()
{
auto image = ImageType::New();

ImageType::RegionType region({ 3, 2 });
RegionType region(SizeType{ { 3, 2 } });

image->SetRegions(region);

Expand Down

0 comments on commit b1fc86a

Please sign in to comment.