From c7b822ec5498ce597e6fff9b0e637143efbf9c6c Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 10 Jan 2025 22:59:56 +0100 Subject: [PATCH] fix: `point_origin_interface::op+` constraints fixed --- src/core/include/mp-units/framework/quantity_point.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/include/mp-units/framework/quantity_point.h b/src/core/include/mp-units/framework/quantity_point.h index fb582fd1e..a3113eac8 100644 --- a/src/core/include/mp-units/framework/quantity_point.h +++ b/src/core/include/mp-units/framework/quantity_point.h @@ -68,8 +68,7 @@ struct point_origin_interface { return quantity_point{std::forward(q), po}; } - template Q = std::remove_cvref_t> + template Q = std::remove_cvref_t> [[nodiscard]] friend constexpr QuantityPoint auto operator+(FwdQ&& q, PO po) { return po + std::forward(q);