Skip to content

Commit e34078a

Browse files
committed
missed an edit
1 parent d89f12d commit e34078a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/stdexec/__detail/__as_awaitable.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ namespace STDEXEC
373373
STDEXEC::start(__opstate);
374374
}
375375

376-
if (this->__result_.index() == 0)
376+
if (this->__result_.__is_valueless())
377377
{
378378
// The operation completed with set_stopped, so we need to call
379379
// unhandled_stopped() on the promise to propagate the stop signal. That will

0 commit comments

Comments
 (0)