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