forked from mpusz/mp-units
fix: compilation-error fixed
This commit is contained in:
@@ -598,7 +598,7 @@ inline constexpr struct per_mille : named_unit<basic_symbol_text{"‰", "%o"}, m
|
|||||||
// convertible_to
|
// convertible_to
|
||||||
[[nodiscard]] consteval bool convertible(Unit auto from, Unit auto to)
|
[[nodiscard]] consteval bool convertible(Unit auto from, Unit auto to)
|
||||||
{
|
{
|
||||||
return detail::have_same_canonical_reference_unit(u1, u2);
|
return detail::have_same_canonical_reference_unit(from, to);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common unit
|
// Common unit
|
||||||
|
Reference in New Issue
Block a user