From 9652aa7161d0762013b1c088bb3ec6ece0535ceb Mon Sep 17 00:00:00 2001 From: microcai Date: Mon, 14 Oct 2024 23:24:11 +0800 Subject: [PATCH] =?UTF-8?q?promsietype=20=E7=9A=84=20local=5F=20=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=98=AF=20std::shared=5Fptr,=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E4=B9=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/ucoro/awaitable.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ucoro/awaitable.hpp b/include/ucoro/awaitable.hpp index 955ffed..b19dab9 100644 --- a/include/ucoro/awaitable.hpp +++ b/include/ucoro/awaitable.hpp @@ -90,7 +90,7 @@ namespace ucoro // 用于判定 T 是否是一个 awaitable<>::promise_type 的类型, 即: 拥有 local_ 成员。 template concept is_awaitable_promise_type_v = requires (T a){ - { a.local_ } -> std::convertible_to ; + { a.local_ } -> std::convertible_to> ; }; } // namespace detail