Skip to content

Commit 0c94029

Browse files
committed
fix: use initialization with braces in itkTransformJSONTest
Performance and attempt to address compilation errors related to constructor definition on the macos-14 build.
1 parent e3b37ef commit 0c94029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/itkTransformJSONTest.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ itkTransformJSONTest(int argc, char * argv[])
2727
itk::JSONTransformParameterizationEnum parameterization = itk::JSONTransformParameterizationEnum::Affine;
2828
itk::JSONFloatTypesEnum floatType = itk::JSONFloatTypesEnum::float64;
2929

30-
itk::TransformTypeJSON transformType(parameterization, floatType, 3, 3);
30+
itk::TransformTypeJSON transformType{parameterization, floatType, 3, 3};
3131

32-
itk::TransformJSON transform(transformType, 3, 12);
32+
itk::TransformJSON transform{transformType, 3, 12};
3333

3434
itk::TransformListJSON transformList{ transform };
3535

0 commit comments

Comments
 (0)