Skip to content

Commit f4da4e2

Browse files
committed
work around bug in gcc<13
1 parent bbb7967 commit f4da4e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/stdexec/__detail/__basic_sender.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ namespace STDEXEC {
493493
// See MAINTAINERS.md#class-template-parameters for `__id` and `__t`.
494494
using __id = __sexpr;
495495
using __t = __sexpr;
496-
using __desc_t = __result_of<_DescriptorFn>;
496+
using __desc_t = decltype(_DescriptorFn());
497497
using __tag_t = __desc_t::__tag;
498498
using __captures_t = __minvoke<__desc_t, __q<__detail::__captures_t>>;
499499

0 commit comments

Comments
 (0)