fix: MSVC workaround applied to test_package

This commit is contained in:
Mateusz Pusz
2024-09-30 19:46:21 +02:00
parent 1039332750
commit a9fc203ee5

View File

@ -38,8 +38,9 @@ import mp_units;
using namespace mp_units;
constexpr QuantityOf<isq::speed> auto avg_speed(QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::distance)> auto d,
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::duration)> auto t)
constexpr QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::speed)> auto avg_speed(
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::distance)> auto d,
QuantityOf<MP_UNITS_IS_VALUE_WORKAROUND(isq::duration)> auto t)
{
return d / t;
}