diff --git a/src/include/duckdb/common/stl_allocator.hpp b/src/include/duckdb/common/stl_allocator.hpp index c1cdd8c428ea..344b3a07ad80 100644 --- a/src/include/duckdb/common/stl_allocator.hpp +++ b/src/include/duckdb/common/stl_allocator.hpp @@ -37,7 +37,7 @@ class AllocationFunctions { free_function_t free = nullptr; }; -extern AllocationFunctions DEFAULT_ALLOCATION_FUNCTIONS; // NOLINT: non-const on purpose +extern DUCKDB_API AllocationFunctions DEFAULT_ALLOCATION_FUNCTIONS; // NOLINT: non-const on purpose template T *stl_new_array_uninitialized(size_t size) { // NOLINT: not using camelcase on purpose here @@ -106,7 +106,7 @@ class stl_allocator { // NOLINT: not using camelcase on purpose here using propagate_on_container_copy_assignment = std::true_type; using propagate_on_container_move_assignment = std::true_type; using propagate_on_container_swap = std::true_type; - using is_always_equal = std::true_type; + using is_always_equal = std::false_type; // because allocator is stateful template struct rebind { typedef stl_allocator other;