From 77eaab4803f4b05530250a3a2689a5fc4c17d0f5 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 18 Mar 2023 13:14:49 +0100 Subject: [PATCH] provided concurrent_table_arrays ctor to satisfy older compilers --- include/boost/unordered/detail/foa/concurrent_table.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index b3c499f8..ca30728b 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -201,10 +201,13 @@ struct concurrent_table_arrays:table_arrays { using super=table_arrays; + concurrent_table_arrays(const super& arrays,group_access *pga): + super{arrays},group_accesses{pga}{} + template static concurrent_table_arrays new_(Allocator& al,std::size_t n) { - concurrent_table_arrays arrays={super::new_(al,n),nullptr}; + concurrent_table_arrays arrays{super::new_(al,n),nullptr}; if(!arrays.elements){ arrays.group_accesses=dummy_group_accesses(); }