From 85b6dd0e3857e2e1500531a601ed5e78aad471c7 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 24 Aug 2023 19:32:14 +0200 Subject: [PATCH] fix: not enough changes were commited in one of the previous commits --- src/core/include/mp-units/bits/quantity_cast.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/include/mp-units/bits/quantity_cast.h b/src/core/include/mp-units/bits/quantity_cast.h index c5db82f18..a78bac95e 100644 --- a/src/core/include/mp-units/bits/quantity_cast.h +++ b/src/core/include/mp-units/bits/quantity_cast.h @@ -48,7 +48,6 @@ namespace mp_units { template requires Quantity> && (castable(Q::quantity_spec, ToQS)) [[nodiscard]] constexpr Quantity auto quantity_cast(Q&& q) - requires Quantity> && (castable(q.quantity_spec, ToQS)) { if constexpr (detail::QuantityKindSpec> && AssociatedUnit>)