Work around -Wconversion on GCC 5

This commit is contained in:
Peter Dimov
2022-10-30 16:23:22 +02:00
parent 56b3700683
commit 8f02e43ba4

View File

@ -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<unsigned char>( overflow() | static_cast<unsigned char>(1<<(hash%8)) );
#else
overflow()|=static_cast<unsigned char>(1<<(hash%8));
#endif
}
inline int match_available()const