From 768f400cc3b18e47f991d39b1f893cfbc945ddce Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 23 May 2022 09:56:45 +0200 Subject: [PATCH] test: quantity CTAD tests enabled only for the newest compilers --- test/unit_test/static/quantity_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit_test/static/quantity_test.cpp b/test/unit_test/static/quantity_test.cpp index 7e4821a3..82bf34d0 100644 --- a/test/unit_test/static/quantity_test.cpp +++ b/test/unit_test/static/quantity_test.cpp @@ -290,10 +290,9 @@ static_assert(get_length_derived_quantity() == 1_q_m); #if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 15 static_assert(std::is_same_v); static_assert(std::is_same_v); -#endif - static_assert( std::is_same_v); +#endif static_assert(is_same_v(123)}), length>); static_assert(is_same_v(123)}), speed>);