diff --git a/src/core/include/units/quantity.h b/src/core/include/units/quantity.h index 6f9f9d0c..3b45cba2 100644 --- a/src/core/include/units/quantity.h +++ b/src/core/include/units/quantity.h @@ -444,7 +444,7 @@ public: }; // CTAD -#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 15 +#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 16 template explicit(false) quantity(Rep&&)->quantity; #endif diff --git a/test/unit_test/static/quantity_test.cpp b/test/unit_test/static/quantity_test.cpp index 576c6679..d631d1a6 100644 --- a/test/unit_test/static/quantity_test.cpp +++ b/test/unit_test/static/quantity_test.cpp @@ -287,7 +287,7 @@ static_assert(get_length_derived_quantity() == 1_q_m); // CTAD ///////// -#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 15 +#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 16 static_assert(std::is_same_v); static_assert(std::is_same_v); static_assert(