GCC bug 63707 has been fixed for GCC 11

This commit is contained in:
Peter Dimov
2021-01-23 20:36:12 +02:00
parent 7c37053950
commit 3015e56bcb

View File

@ -1032,7 +1032,7 @@ template<class... T> struct variant_base_impl<false, false, T...>
{
unsigned ix_;
#if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
#if defined(__GNUC__) && __GNUC__ < 11 && !defined(__clang__) && !defined(__INTEL_COMPILER)
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 :-(