From 2a7a8f55e1063febcdae9d879b1a04467cd4f10d Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 1 Feb 2023 10:49:20 -0800 Subject: [PATCH] Revert OSX CI experiment as it breaks emplace_tests --- include/boost/unordered/detail/foa.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 7e598aff..5731cc41 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1394,9 +1394,9 @@ public: * unconditionally allocates via `type_policy::construct()`. */ return emplace_dispatch( - std::is_same< + std::is_constructible< value_type, - element_type>{}, + emplace_type&&>{}, std::forward(args)...); }