mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 19:04:27 +02:00
fix: MSVC workaround applied to test_package
This commit is contained in:
@@ -38,8 +38,9 @@ import mp_units;
|
|||||||
|
|
||||||
using namespace mp_units;
|
using namespace mp_units;
|
||||||
|
|
||||||
constexpr QuantityOf<isq::speed> auto avg_speed(QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::distance)> auto d,
|
constexpr QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::speed)> auto avg_speed(
|
||||||
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::duration)> auto t)
|
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::distance)> auto d,
|
||||||
|
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::duration)> auto t)
|
||||||
{
|
{
|
||||||
return d / t;
|
return d / t;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user