From d5a846af3d9ea6ec36003afb0302c4e69b6a4bed Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 6 Feb 2025 16:21:47 +0100 Subject: [PATCH] fix: MSVC compilation fixed --- src/core/include/mp-units/framework/quantity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/framework/quantity.h b/src/core/include/mp-units/framework/quantity.h index c4b85cdf..de2621ff 100644 --- a/src/core/include/mp-units/framework/quantity.h +++ b/src/core/include/mp-units/framework/quantity.h @@ -105,7 +105,7 @@ using common_quantity_for = quantity [[nodiscard]] consteval bool might_store_converted_common_value(U1 u1, U2 u2) { - constexpr Unit auto cu = get_common_unit(u1, u2); + constexpr Unit auto cu = get_common_unit(U1{}, U2{}); return might_store_converted_value(u1, cu) && might_store_converted_value(u2, cu); }