From c2484f05f0a86d73be1e9d7f0a13e47a1f30d275 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 9 Jun 2023 21:31:30 +0200 Subject: [PATCH] avoided old GCC/Clang hiccup with {} for aggregate copy construction --- include/boost/unordered/detail/foa/core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index 0b985265..fbe3aa59 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -1293,7 +1293,7 @@ public: hash_base{empty_init,std::move(x.h())}, pred_base{empty_init,std::move(x.pred())}, allocator_base{empty_init,std::move(x.al())}, - arrays(x.arrays),size_ctrl{x.size_ctrl} + arrays(x.arrays),size_ctrl(x.size_ctrl) { x.arrays=x.new_arrays(0); x.size_ctrl.ml=x.initial_max_load();