@@ -1226,8 +1226,8 @@ TEST_F(TestArrayExport, MoveSeveralChildren) {
12261226}
12271227
12281228TEST_F (TestArrayExport, ExportArrayAndType) {
1229- struct ArrowSchema c_schema{};
1230- struct ArrowArray c_array{};
1229+ struct ArrowSchema c_schema {};
1230+ struct ArrowArray c_array {};
12311231 SchemaExportGuard schema_guard (&c_schema);
12321232 ArrayExportGuard array_guard (&c_array);
12331233
@@ -1244,8 +1244,8 @@ TEST_F(TestArrayExport, ExportArrayAndType) {
12441244}
12451245
12461246TEST_F (TestArrayExport, ExportRecordBatch) {
1247- struct ArrowSchema c_schema{};
1248- struct ArrowArray c_array{};
1247+ struct ArrowSchema c_schema {};
1248+ struct ArrowArray c_array {};
12491249
12501250 auto schema = ::arrow::schema (
12511251 {field (" ints" , int16 ()), field (" bools" , boolean (), /* nullable=*/ false )});
@@ -1704,8 +1704,8 @@ TEST_F(TestDeviceArrayExport, ExportArrayAndType) {
17041704 std::shared_ptr<Device> device = std::make_shared<MyDevice>(1 );
17051705 auto mm = device->default_memory_manager ();
17061706
1707- struct ArrowSchema c_schema{};
1708- struct ArrowDeviceArray c_array{};
1707+ struct ArrowSchema c_schema {};
1708+ struct ArrowDeviceArray c_array {};
17091709 SchemaExportGuard schema_guard (&c_schema);
17101710 ArrayExportGuard array_guard (&c_array.array );
17111711
@@ -1726,8 +1726,8 @@ TEST_F(TestDeviceArrayExport, ExportRecordBatch) {
17261726 std::shared_ptr<Device> device = std::make_shared<MyDevice>(1 );
17271727 auto mm = device->default_memory_manager ();
17281728
1729- struct ArrowSchema c_schema{};
1730- struct ArrowDeviceArray c_array{};
1729+ struct ArrowSchema c_schema {};
1730+ struct ArrowDeviceArray c_array {};
17311731
17321732 auto schema = ::arrow::schema (
17331733 {field (" ints" , int16 ()), field (" bools" , boolean (), /* nullable=*/ false )});
@@ -3619,7 +3619,7 @@ class TestSchemaRoundtrip : public ::testing::Test {
36193619 void TestWithTypeFactory (TypeFactory&& factory,
36203620 ExpectedTypeFactory&& factory_expected) {
36213621 std::shared_ptr<DataType> type, actual;
3622- struct ArrowSchema c_schema{}; // zeroed
3622+ struct ArrowSchema c_schema {}; // zeroed
36233623 SchemaExportGuard schema_guard (&c_schema);
36243624
36253625 auto orig_bytes = pool_->bytes_allocated ();
@@ -3650,7 +3650,7 @@ class TestSchemaRoundtrip : public ::testing::Test {
36503650 template <typename SchemaFactory>
36513651 void TestWithSchemaFactory (SchemaFactory&& factory) {
36523652 std::shared_ptr<Schema> schema, actual;
3653- struct ArrowSchema c_schema{}; // zeroed
3653+ struct ArrowSchema c_schema {}; // zeroed
36543654 SchemaExportGuard schema_guard (&c_schema);
36553655
36563656 auto orig_bytes = pool_->bytes_allocated ();
@@ -3865,8 +3865,8 @@ class TestArrayRoundtrip : public ::testing::Test {
38653865 void TestWithArrayFactory (ArrayFactory&& factory,
38663866 ExpectedArrayFactory&& factory_expected) {
38673867 std::shared_ptr<Array> array;
3868- struct ArrowArray c_array{};
3869- struct ArrowSchema c_schema{};
3868+ struct ArrowArray c_array {};
3869+ struct ArrowSchema c_schema {};
38703870 ArrayExportGuard array_guard (&c_array);
38713871 SchemaExportGuard schema_guard (&c_schema);
38723872
@@ -3910,8 +3910,8 @@ class TestArrayRoundtrip : public ::testing::Test {
39103910 template <typename BatchFactory>
39113911 void TestWithBatchFactory (BatchFactory&& factory) {
39123912 std::shared_ptr<RecordBatch> batch;
3913- struct ArrowArray c_array{};
3914- struct ArrowSchema c_schema{};
3913+ struct ArrowArray c_array {};
3914+ struct ArrowSchema c_schema {};
39153915 ArrayExportGuard array_guard (&c_array);
39163916 SchemaExportGuard schema_guard (&c_schema);
39173917
@@ -4184,7 +4184,7 @@ TEST_F(TestArrayRoundtrip, RegisteredExtensionNoMetadata) {
41844184 KeyValueMetadata::Make ({" ARROW:extension:name" }, {ext_type->extension_name ()});
41854185 auto ext_field = field (" " , ext_type->storage_type (), true , std::move (ext_metadata));
41864186
4187- struct ArrowSchema c_schema{};
4187+ struct ArrowSchema c_schema {};
41884188 SchemaExportGuard schema_guard (&c_schema);
41894189 ASSERT_OK (ExportField (*ext_field, &c_schema));
41904190
@@ -4305,8 +4305,8 @@ class TestDeviceArrayRoundtrip : public ::testing::Test {
43054305 void TestWithArrayFactory (ArrayFactory&& factory,
43064306 ExpectedArrayFactory&& factory_expected) {
43074307 std::shared_ptr<Array> array;
4308- struct ArrowDeviceArray c_array{};
4309- struct ArrowSchema c_schema{};
4308+ struct ArrowDeviceArray c_array {};
4309+ struct ArrowSchema c_schema {};
43104310 ArrayExportGuard array_guard (&c_array.array );
43114311 SchemaExportGuard schema_guard (&c_schema);
43124312
@@ -4354,8 +4354,8 @@ class TestDeviceArrayRoundtrip : public ::testing::Test {
43544354 auto mm = device->default_memory_manager ();
43554355
43564356 std::shared_ptr<RecordBatch> batch;
4357- struct ArrowDeviceArray c_array{};
4358- struct ArrowSchema c_schema{};
4357+ struct ArrowDeviceArray c_array {};
4358+ struct ArrowSchema c_schema {};
43594359 ArrayExportGuard array_guard (&c_array.array );
43604360 SchemaExportGuard schema_guard (&c_schema);
43614361
0 commit comments