From 7ed29807a65d0bb7e6ef0334758620748188073f Mon Sep 17 00:00:00 2001 From: "Ralph J. Steinhagen" Date: Tue, 29 Jun 2021 17:33:17 +0200 Subject: [PATCH] removed superfluous `requires` statement in is_quantity --- src/core/include/units/quantity.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/core/include/units/quantity.h b/src/core/include/units/quantity.h index 7956cd11..da3825a1 100644 --- a/src/core/include/units/quantity.h +++ b/src/core/include/units/quantity.h @@ -461,14 +461,7 @@ template inline constexpr bool is_quantity> = true; template -requires units::is_derived_from_specialization_of && - requires { - typename T::dimension; - typename T::unit; - typename T::rep; - requires Dimension; - requires Unit; - requires Representation; } +requires units::is_derived_from_specialization_of inline constexpr bool is_quantity = true; } // namespace detail