diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index ec74aa5b..14119549 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -186,7 +186,11 @@ struct group15 inline void mark_overflow(std::size_t hash) { +#if BOOST_WORKAROUND(BOOST_GCC, >= 50000 && BOOST_GCC < 60000) + overflow() = static_cast( overflow() | static_cast(1<<(hash%8)) ); +#else overflow()|=static_cast(1<<(hash%8)); +#endif } inline int match_available()const