From e5151141fb01c48ba6039251810fcdfe902046c4 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 6 Jun 2024 22:28:06 +0200 Subject: [PATCH] fix: `have_same_canonical_reference_unit` declaration fixed --- src/core/include/mp-units/framework/unit_concepts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/include/mp-units/framework/unit_concepts.h b/src/core/include/mp-units/framework/unit_concepts.h index 94e430d0..9815db8a 100644 --- a/src/core/include/mp-units/framework/unit_concepts.h +++ b/src/core/include/mp-units/framework/unit_concepts.h @@ -190,7 +190,8 @@ concept UnitOf = namespace detail { -[[nodiscard]] consteval auto have_same_canonical_reference_unit(Unit auto u1, Unit auto u2); +template +[[nodiscard]] consteval auto have_same_canonical_reference_unit(U1 u1, U2 u2); }