From c61222403e2b1f6d0db5582879e93484c66d2da1 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 28 Sep 2022 17:24:44 +0200 Subject: [PATCH] fixed using placement --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 0ace17c4..17f738dd 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -503,6 +503,7 @@ class table static constexpr auto N=group_type::N; using size_policy=pow2_size_policy; using prober=pow2_quadratic_prober; + using alloc_traits=std::allocator_traits; public: using key_type=typename type_policy::key_type; @@ -797,7 +798,6 @@ public: } private: - using alloc_traits=std::allocator_traits; using group_allocator= typename alloc_traits::template rebind_alloc; using group_alloc_traits=std::allocator_traits;