diff --git a/src/core/include/units/quantity.h b/src/core/include/units/quantity.h index 93b64007..6c2daab5 100644 --- a/src/core/include/units/quantity.h +++ b/src/core/include/units/quantity.h @@ -383,7 +383,7 @@ public: }; // CTAD -#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 14 +#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 15 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 47447b46..ccc0a9ca 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_GCC >= 11 || UNITS_COMP_CLANG > 14 +#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 15 static_assert(std::is_same_v); static_assert(std::is_same_v); #endif