diff --git a/src/core/include/mp-units/framework/magnitude.h b/src/core/include/mp-units/framework/magnitude.h index 7cdb9b30c..db0c2af6e 100644 --- a/src/core/include/mp-units/framework/magnitude.h +++ b/src/core/include/mp-units/framework/magnitude.h @@ -565,7 +565,9 @@ template MP_UNITS_EXPORT_BEGIN template +#if !(defined MP_UNITS_COMP_CLANG && MP_UNITS_COMP_CLANG < 18) requires detail::gt_zero +#endif constexpr Magnitude auto mag = detail::make_magnitude(); template