From 4d69db1441c9682d90ab8bdad04bcf60a4c48e71 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 11 Sep 2021 19:23:39 +0300 Subject: [PATCH] Extend g++-10 workarounds to 11 --- test/variant_in_place_index_construct_cx.cpp | 4 ++-- test/variant_in_place_type_construct_cx.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/variant_in_place_index_construct_cx.cpp b/test/variant_in_place_index_construct_cx.cpp index f3f8f9d..ea4b3ab 100644 --- a/test/variant_in_place_index_construct_cx.cpp +++ b/test/variant_in_place_index_construct_cx.cpp @@ -105,9 +105,9 @@ int main() STATIC_ASSERT( v.index() == 4 ); } -#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 110000) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 120000) - // no idea why this fails on g++ 10 + // no idea why this fails on g++ 10/11 #else diff --git a/test/variant_in_place_type_construct_cx.cpp b/test/variant_in_place_type_construct_cx.cpp index c3d57ff..832de3d 100644 --- a/test/variant_in_place_type_construct_cx.cpp +++ b/test/variant_in_place_type_construct_cx.cpp @@ -102,9 +102,9 @@ int main() STATIC_ASSERT( holds_alternative(v) ); } -#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 110000) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 120000) - // no idea why this fails on g++ 10 + // no idea why this fails on g++ 10/11 #else