Skip to content

Commit d4fdf1d

Browse files
committed
Fix missing environment in sync_wait
1 parent 2d7e75e commit d4fdf1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/beman/execution26/detail/sync_wait.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ struct sync_wait_receiver {
6868
}
6969
this->state->loop.finish();
7070
}
71+
auto get_env() const noexcept -> ::beman::execution26::detail::sync_wait_env {
72+
return ::beman::execution26::detail::sync_wait_env{&this->state->loop};
73+
}
7174
};
7275

7376
struct sync_wait_t {

0 commit comments

Comments
 (0)