diff --git a/src/core/include/mp-units/framework/quantity_point.h b/src/core/include/mp-units/framework/quantity_point.h index 686563c6..5c11e943 100644 --- a/src/core/include/mp-units/framework/quantity_point.h +++ b/src/core/include/mp-units/framework/quantity_point.h @@ -295,7 +295,7 @@ public: #endif template - requires requires { quantity_point{} - PO2{}; } + requires requires(quantity_point qp) { qp - PO2{}; } [[nodiscard]] constexpr Quantity auto quantity_from(PO2) const { return *this - PO2{};