diff --git a/test/variant_in_place_index_construct_cx.cpp b/test/variant_in_place_index_construct_cx.cpp index 402614c..addc8fc 100644 --- a/test/variant_in_place_index_construct_cx.cpp +++ b/test/variant_in_place_index_construct_cx.cpp @@ -105,7 +105,7 @@ int main() STATIC_ASSERT( v.index() == 4 ); } -#if BOOST_WORKAROUND(BOOST_GCC, == 100100) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 100200) // no idea why this fails on g++ 10 diff --git a/test/variant_in_place_type_construct_cx.cpp b/test/variant_in_place_type_construct_cx.cpp index 0effec8..e47ca46 100644 --- a/test/variant_in_place_type_construct_cx.cpp +++ b/test/variant_in_place_type_construct_cx.cpp @@ -102,7 +102,7 @@ int main() STATIC_ASSERT( holds_alternative(v) ); } -#if BOOST_WORKAROUND(BOOST_GCC, == 100100) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 100200) // no idea why this fails on g++ 10