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>{}); }