diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 5731cc41..7e598aff 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_constructible< + std::is_same< value_type, - emplace_type&&>{}, + element_type>{}, std::forward(args)...); }