From df0c375541be8ac8d6c0f2c161664c3a0076448d Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 5 Oct 2022 13:58:31 +0200 Subject: [PATCH] s/std::allocator_traits/boost::allocator_traits --- include/boost/unordered/detail/foa.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index cf5e82c7..1744798a 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -28,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -679,7 +679,7 @@ struct table_arrays template static table_arrays new_(Allocator& al,std::size_t n) { - using alloc_traits=std::allocator_traits; + using alloc_traits=boost::allocator_traits; /* n/N+1 == ceil(n+1/N) (extra +1 for the sentinel) */ auto groups_size_index=size_policy::size_index(n/N+1); @@ -726,7 +726,7 @@ struct table_arrays template static void delete_(Allocator& al,table_arrays& arrays)noexcept { - using alloc_traits=std::allocator_traits; + using alloc_traits=boost::allocator_traits; if(arrays.elements){ alloc_traits::deallocate( @@ -824,7 +824,7 @@ table:empty_value,empty_value,empty_value static constexpr auto N=group_type::N; using size_policy=pow2_size_policy; using prober=pow2_quadratic_prober; - using alloc_traits=std::allocator_traits; + using alloc_traits=boost::allocator_traits; public: using key_type=typename type_policy::key_type;