mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
fix: type ordering in a unit test fixed for gcc
This commit is contained in:
@ -573,7 +573,7 @@ static_assert(
|
||||
is_of_type<get_common_unit(degree_Celsius, degree_Fahrenheit), common_unit<degree_Celsius_, degree_Fahrenheit_>>);
|
||||
static_assert(is_of_type<get_common_unit(get_common_unit(degree_Celsius, degree_Fahrenheit),
|
||||
get_common_unit(mag_ratio<5, 9>* degree_Celsius, si::milli<kelvin>)),
|
||||
common_unit<degree_Fahrenheit_, si::milli_<kelvin_>>>);
|
||||
decltype(get_common_unit(degree_Fahrenheit, si::milli<kelvin>))>);
|
||||
|
||||
static_assert(
|
||||
is_of_type<get_common_unit(mile, kilometre) / second, derived_unit<common_unit<kilo_<metre_>, mile_>, per<second_>>>);
|
||||
|
Reference in New Issue
Block a user