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