From 0ba48b72f475ff3ed0f3c90a80e8b7f9939dc07e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 10 Jan 2025 23:05:36 +0100 Subject: [PATCH] fix: `make_quantity_point` 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 a3113eac..4a74a97e 100644 --- a/src/core/include/mp-units/framework/quantity_point.h +++ b/src/core/include/mp-units/framework/quantity_point.h @@ -51,8 +51,7 @@ template return is_specialization_of_zeroth_point_origin; } -template Q = std::remove_cvref_t> +template Q = std::remove_cvref_t> [[nodiscard]] constexpr QuantityPoint auto make_quantity_point(FwdQ&& q, PO po) { if constexpr (detail::is_zeroth_point_origin(PO{}))