diff --git a/src/core/include/units/quantity_cast.h b/src/core/include/units/quantity_cast.h index ea4b8412..e4f8cb62 100644 --- a/src/core/include/units/quantity_cast.h +++ b/src/core/include/units/quantity_cast.h @@ -83,9 +83,10 @@ template template requires(!common_type_with_, std::intmax_t> && - scalable_number_, - std::intmax_t>&& requires { typename std::common_type_t::value_type; } && - common_type_with_::value_type, std::intmax_t>) struct cast_traits { + scalable_number_, std::intmax_t> && + requires { typename std::common_type_t::value_type; } && + common_type_with_::value_type, std::intmax_t>) +struct cast_traits { using ratio_type = std::common_type_t::value_type, std::intmax_t>; using rep_type = std::common_type_t; };