forked from boostorg/unordered
extended workaround to GCC 4.9
This commit is contained in:
@ -156,6 +156,9 @@ namespace {
|
||||
BOOST_WORKAROUND(BOOST_GCC_VERSION, < 50500)
|
||||
// some versions of old gcc have trouble eliding copies here
|
||||
// https://godbolt.org/z/Ebo6TbvaG
|
||||
#elif BOOST_WORKAROUND(BOOST_GCC_VERSION, >= 40900) && \
|
||||
BOOST_WORKAROUND(BOOST_GCC_VERSION, < 50000)
|
||||
// seemingly same problem, though the snippet above does not reveal it
|
||||
#else
|
||||
BOOST_TEST_EQ(raii::copy_constructor, 0u);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user