Skip to content

Commit

Permalink
COMP: Fix suggested brace around initialization warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp authored and hjmjohnson committed Feb 12, 2020
1 parent 486d3e8 commit 8bae0c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Modules/Core/Mesh/test/itkMeshCellDataTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ itkMeshCellDataTest(int, char *[])
// 0 2------4

const auto mesh = TMesh::New();
mesh->SetPoint(0, TPoint{ { 0.0, 0.0 } });
mesh->SetPoint(1, TPoint{ { 0.0, 1.0 } });
mesh->SetPoint(2, TPoint{ { 1.0, 0.0 } });
mesh->SetPoint(3, TPoint{ { 1.0, 1.0 } });
mesh->SetPoint(4, TPoint{ { 4.0, 0.0 } });
mesh->SetPoint(5, TPoint{ { 5.0, 1.0 } });
mesh->SetPoint(0, TPoint{ { { 0.0, 0.0 } } });
mesh->SetPoint(1, TPoint{ { { 0.0, 1.0 } } });
mesh->SetPoint(2, TPoint{ { { 1.0, 0.0 } } });
mesh->SetPoint(3, TPoint{ { { 1.0, 1.0 } } });
mesh->SetPoint(4, TPoint{ { { 4.0, 0.0 } } });
mesh->SetPoint(5, TPoint{ { { 5.0, 1.0 } } });

{
TCell::CellAutoPointer cellpointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ TEST(RelabelComponentImageFilter, big_random)


auto randomSource = itk::RandomImageSource<ImageType>::New();
randomSource->SetSize({ 512, 512, 512 });
randomSource->SetSize({ { 512, 512, 512 } });
randomSource->SetMin(0);
randomSource->Update();

Expand Down

0 comments on commit 8bae0c9

Please sign in to comment.