From 473ed9b88b8a2b958a5c421b7edd13f75dd46662 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 13 Jan 2023 15:44:01 -0800 Subject: [PATCH] Update check used to determine when to move during rehashing to accomodate node-based containers --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index f55c99b0..8b22f0d7 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1973,7 +1973,7 @@ private: std::integral_constant< /* std::move_if_noexcept semantics */ bool, std::is_nothrow_move_constructible::value|| - std::is_same::value|| + !std::is_same::value|| !std::is_copy_constructible::value>{}); }