Skip to content

Commit 2b04e82

Browse files
Sandeep GottimukkalaSandeep Gottimukkala
authored andcommitted
test(rest): use braced return in incremental scan test builder
1 parent f024ec2 commit 2b04e82

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/iceberg/test/rest_table_scan_test.cc‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,8 +1362,7 @@ class RestIncrementalAppendScanTest : public RestTableScanTest {
13621362
}
13631363

13641364
RestIncrementalAppendScanBuilder MakeBuilder(RestScanContext ctx) {
1365-
return RestIncrementalAppendScanBuilder(metadata_, file_io_, "test.my_table", nullptr,
1366-
std::move(ctx));
1365+
return {metadata_, file_io_, "test.my_table", nullptr, std::move(ctx)};
13671366
}
13681367

13691368
Result<std::unique_ptr<IncrementalAppendScan>> MakeIncrementalScan(

0 commit comments

Comments
 (0)