Skip to content

Commit

Permalink
Fix missing environment in sync_wait
Browse files Browse the repository at this point in the history
  • Loading branch information
maikel committed Dec 23, 2024
1 parent 2d7e75e commit d4fdf1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/beman/execution26/detail/sync_wait.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ struct sync_wait_receiver {
}
this->state->loop.finish();
}
auto get_env() const noexcept -> ::beman::execution26::detail::sync_wait_env {
return ::beman::execution26::detail::sync_wait_env{&this->state->loop};
}
};

struct sync_wait_t {
Expand Down

0 comments on commit d4fdf1d

Please sign in to comment.