From b015c6baddb5bd09c3e08eca168d13762b0c2b9d Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 27 Dec 2020 12:10:03 +0100 Subject: [PATCH] test: Test disabled for GCC 10.1.0 --- test/unit_test/static/quantity_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit_test/static/quantity_test.cpp b/test/unit_test/static/quantity_test.cpp index 1ab8e6e7..db3d938c 100644 --- a/test/unit_test/static/quantity_test.cpp +++ b/test/unit_test/static/quantity_test.cpp @@ -47,7 +47,7 @@ using namespace units::physical::si; static_assert(sizeof(length) == sizeof(double)); static_assert(sizeof(length) == sizeof(short)); -#if COMP_GCC != 10 || COMP_GCC_MINOR != 2 // TODO remove when gcc 10.3 releases +#if COMP_GCC != 10 || COMP_GCC_MINOR > 2 template typename Q> concept invalid_types = requires { requires !requires { typename Q; }; // unit of a different dimension