From e3a790667dfbeedac9afffc9eb089f689fc767c4 Mon Sep 17 00:00:00 2001 From: Chip Hogg Date: Fri, 28 Jan 2022 20:13:35 +0000 Subject: [PATCH] Guessing at what MSVC wants --- src/core/include/units/magnitude.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/units/magnitude.h b/src/core/include/units/magnitude.h index 902ff645..2fa89e3f 100644 --- a/src/core/include/units/magnitude.h +++ b/src/core/include/units/magnitude.h @@ -337,7 +337,7 @@ struct magnitude { // The value of this magnitude, expressed in a given type. template - requires is_magnitude_integral || std::is_floating_point_v + requires (magnitude::is_magnitude_integral || std::is_floating_point_v) static constexpr T value = detail::checked_static_cast( (detail::compute_base_power(BPs) * ...)); };