From 13b450e8cf02b0fc679c81d860576bddf0600a00 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 3 Dec 2023 19:24:29 +0100 Subject: [PATCH] fix: `quantity_point::point_for(PO)` constraints fixed --- src/core/include/mp-units/quantity_point.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/quantity_point.h b/src/core/include/mp-units/quantity_point.h index cc1f51892..840c502d4 100644 --- a/src/core/include/mp-units/quantity_point.h +++ b/src/core/include/mp-units/quantity_point.h @@ -183,7 +183,7 @@ class quantity_point { quantity_point& operator=(const quantity_point&) = default; quantity_point& operator=(quantity_point&&) = default; - template NewPO> + template NewPO> [[nodiscard]] constexpr MP_UNITS_CONSTRAINED_AUTO_WORKAROUND(QuantityPointOf) auto point_for( NewPO new_origin) const {