From ca3d111579bef372a293f6edb5cb91f4395f5f9b Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 20 Oct 2021 20:18:15 +0200 Subject: [PATCH] fix: CTAD test disabled for most of the compilers --- 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 2560c142..ac18c8e6 100644 --- a/test/unit_test/static/quantity_test.cpp +++ b/test/unit_test/static/quantity_test.cpp @@ -273,7 +273,7 @@ static_assert(get_length_derived_quantity() == 1_q_m); // CTAD ///////// -#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 13 +#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 13 static_assert(std::is_same_v); static_assert(std::is_same_v); #endif