Skip to content

Commit

Permalink
fixed a few warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarkuehl committed Jan 4, 2025
1 parent 326eb72 commit 8796a52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/beman/execution26/detail/on.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <beman/execution26/detail/write_env.hpp>
#include <utility>

#include <beman/execution26/detail/suppress_push.hpp>

// ----------------------------------------------------------------------------

namespace beman::execution26::detail {
Expand Down Expand Up @@ -162,4 +164,6 @@ inline constexpr ::beman::execution26::on_t on{};

// ----------------------------------------------------------------------------

#include <beman/execution26/detail/suppress_pop.hpp>

#endif
3 changes: 3 additions & 0 deletions tests/beman/execution26/exec-on.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include <test/thread_pool.hpp>
#include <concepts>

#include <beman/execution26/detail/suppress_push.hpp>

// ----------------------------------------------------------------------------

namespace {
Expand Down Expand Up @@ -43,6 +45,7 @@ auto test_interface(Sch sch, Sndr sndr, Closure closure, Both both) -> void {
template <test_detail::sender_for<test_std::on_t> OutSndr>
auto test_transform_env(OutSndr out_sndr) -> void {
auto e{test_std::on.transform_env(out_sndr, test_std::empty_env{})};
test::use(e);
}

template <test_detail::sender_for<test_std::on_t> OutSndr>
Expand Down

0 comments on commit 8796a52

Please sign in to comment.