Skip to content

Commit 8796a52

Browse files
committed
fixed a few warnings
1 parent 326eb72 commit 8796a52

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

include/beman/execution26/detail/on.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#include <beman/execution26/detail/write_env.hpp>
2525
#include <utility>
2626

27+
#include <beman/execution26/detail/suppress_push.hpp>
28+
2729
// ----------------------------------------------------------------------------
2830

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

163165
// ----------------------------------------------------------------------------
164166

167+
#include <beman/execution26/detail/suppress_pop.hpp>
168+
165169
#endif

tests/beman/execution26/exec-on.test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include <test/thread_pool.hpp>
1212
#include <concepts>
1313

14+
#include <beman/execution26/detail/suppress_push.hpp>
15+
1416
// ----------------------------------------------------------------------------
1517

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

4851
template <test_detail::sender_for<test_std::on_t> OutSndr>

0 commit comments

Comments
 (0)