From 3c79fb2106c257945e72c34f5891f78aba06f7ef Mon Sep 17 00:00:00 2001 From: qicosmos Date: Mon, 15 Jul 2024 18:39:54 +0800 Subject: [PATCH] traits --- include/ylt/reflection/member_count.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ylt/reflection/member_count.hpp b/include/ylt/reflection/member_count.hpp index 098140622..78bb15a7a 100644 --- a/include/ylt/reflection/member_count.hpp +++ b/include/ylt/reflection/member_count.hpp @@ -33,7 +33,7 @@ concept optional = requires(Type optional) { optional.value(); optional.has_value(); optional.operator*(); - typename std::remove_cvref_t::value_type; + typename remove_cvref_t::value_type; }; #else template @@ -129,7 +129,7 @@ inline constexpr std::size_t members_count_impl() { template inline constexpr std::size_t members_count() { - using type = std::remove_cvref_t; + using type = remove_cvref_t; if constexpr (internal::tuple_size) { return std::tuple_size::value; }