xo-unit: rename with_units -> with_units_from
This commit is contained in:
parent
be8e832481
commit
5078cdd8de
2 changed files with 3 additions and 3 deletions
|
|
@ -231,7 +231,7 @@ namespace xo {
|
|||
&& Q1::always_constexpr_unit
|
||||
&& Q2::always_constexpr_unit)
|
||||
constexpr auto
|
||||
with_units(const Q1 & x, const Q2 & y)
|
||||
with_units_from(const Q1 & x, const Q2 & y)
|
||||
{
|
||||
return x.template rescale<Unit>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue