Skip to content

Commit e53cf1b

Browse files
committed
1
1 parent 10c4e02 commit e53cf1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iceberg/test/rest_catalog_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ class RestCatalogIntegrationTest : public ::testing::Test {
164164
auto partition_spec_result =
165165
PartitionSpec::Make(PartitionSpec::kInitialSpecId, {}, 0);
166166
EXPECT_THAT(partition_spec_result, IsOk());
167-
return std::shared_ptr<PartitionSpec>(std::move(*partition_spec_result));
167+
return {std::move(*partition_spec_result)};
168168
}
169169

170170
// Helper function to create a default unsorted sort order
171171
std::shared_ptr<SortOrder> CreateDefaultSortOrder() {
172172
auto sort_order_result =
173173
SortOrder::Make(SortOrder::kUnsortedOrderId, std::vector<SortField>{});
174174
EXPECT_THAT(sort_order_result, IsOk());
175-
return std::shared_ptr<SortOrder>(std::move(*sort_order_result));
175+
return {std::move(*sort_order_result)};
176176
}
177177

178178
static inline std::unique_ptr<DockerCompose> docker_compose_;

0 commit comments

Comments
 (0)