From 6d848c5af62fd18415ddda642b21a87886091291 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 25 Jan 2021 03:44:24 +0200 Subject: [PATCH] Update GCC workarounds in constexpr in-place construct tests --- test/variant_in_place_index_construct_cx.cpp | 2 +- test/variant_in_place_type_construct_cx.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/variant_in_place_index_construct_cx.cpp b/test/variant_in_place_index_construct_cx.cpp index addc8fc..f3f8f9d 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, >= 100000 && BOOST_GCC < 100200) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 110000) // 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 e47ca46..c3d57ff 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, >= 100000 && BOOST_GCC < 100200) +#if BOOST_WORKAROUND(BOOST_GCC, >= 100000 && BOOST_GCC < 110000) // no idea why this fails on g++ 10