mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
extended workaround to GCC 4.9
This commit is contained in:
@ -156,7 +156,10 @@ namespace {
|
||||
BOOST_WORKAROUND(BOOST_GCC_VERSION, < 50500)
|
||||
// some versions of old gcc have trouble eliding copies here
|
||||
// https://godbolt.org/z/Ebo6TbvaG
|
||||
#else
|
||||
#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
|
||||
BOOST_TEST_EQ(raii::copy_assignment, 0u);
|
||||
|
Reference in New Issue
Block a user