Skip to content

Commit

Permalink
Fix UT on Apple Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-PLACET committed Apr 19, 2024
1 parent 26e33b7 commit 8857779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_c_data_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ TEST_SUITE("ArrowSchema")
children[1] = new ArrowSchema;
auto dictionary = new ArrowSchema;

const auto schema = sparrow::make_schema_constructor<std::pmr::polymorphic_allocator>(
const auto schema = sparrow::make_schema_constructor<std::allocator>(
"format",
"name",
"metadata",
Expand All @@ -89,7 +89,7 @@ TEST_SUITE("ArrowSchema")
CHECK_EQ(schema.n_children, 2);
CHECK_EQ(schema.children, children);
CHECK_EQ(schema.dictionary, dictionary);
CHECK_EQ(schema.release, sparrow::delete_schema<std::pmr::polymorphic_allocator>);
CHECK_EQ(schema.release, sparrow::delete_schema<std::allocator>);
CHECK_NE(schema.private_data, nullptr);
}

Expand All @@ -100,7 +100,7 @@ TEST_SUITE("ArrowSchema")
children[1] = new ArrowSchema;
auto dictionary = new ArrowSchema;

auto schema = sparrow::make_schema_constructor<std::pmr::polymorphic_allocator>(
auto schema = sparrow::make_schema_constructor<std::allocator>(
"format",
"name",
"metadata",
Expand Down

0 comments on commit 8857779

Please sign in to comment.