forked from boostorg/unordered
Work around -Wconversion on GCC 5
This commit is contained in:
@ -186,7 +186,11 @@ struct group15
|
|||||||
|
|
||||||
inline void mark_overflow(std::size_t hash)
|
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));
|
overflow()|=static_cast<unsigned char>(1<<(hash%8));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int match_available()const
|
inline int match_available()const
|
||||||
|
Reference in New Issue
Block a user