diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 5f4e4fc0..0ace17c4 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -534,7 +534,8 @@ public: h{h_},pred{pred_},al{al_},size_{0},arrays{new_arrays(n)},ml{max_load()} {} - table(const table& x):table(x,x.al){} + table(const table& x): + table(x,alloc_traits::select_on_container_copy_construction(x.al)){} table(table&& x) noexcept(