From 5d3ed201b6db8d45d4a5ccbcacfd67cbab139e29 Mon Sep 17 00:00:00 2001 From: Jonas Hoppe <162709928+czjhoppe@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:48:31 +0200 Subject: [PATCH] [msvc][fix] some short names hide global identifier --- src/core/include/mp-units/framework/quantity_concepts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/framework/quantity_concepts.h b/src/core/include/mp-units/framework/quantity_concepts.h index 37929f19..38403569 100644 --- a/src/core/include/mp-units/framework/quantity_concepts.h +++ b/src/core/include/mp-units/framework/quantity_concepts.h @@ -41,7 +41,7 @@ void to_base_specialization_of_quantity(const volatile quantity*); template inline constexpr bool is_derived_from_specialization_of_quantity = - requires(T* t) { to_base_specialization_of_quantity(t); }; + requires(T* type) { to_base_specialization_of_quantity(type); }; } // namespace detail