diff --git a/src/core/include/units/reference.h b/src/core/include/units/reference.h index 71e3e2e6..b8fc2ee9 100644 --- a/src/core/include/units/reference.h +++ b/src/core/include/units/reference.h @@ -89,6 +89,7 @@ struct reference { using dimension = D; using unit = U; +#if !UNITS_COMP_MSVC template requires Quantity || QuantityValue friend constexpr Quantity auto operator*(const QuantityOrQuantityValue& lhs, reference); @@ -96,6 +97,7 @@ struct reference { template requires Quantity || QuantityValue friend constexpr Quantity auto operator/(const QuantityOrQuantityValue& lhs, reference); +#endif }; template