Skip to content

Commit 909b6a3

Browse files
committed
fix an issue with lambda upsetting MSVC++
1 parent 3d2595e commit 909b6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/beman/execution/detail/spawn_future.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class spawn_future_t {
153153
template <::beman::execution::sender Sndr, ::beman::execution::async_scope_token Tok, typename Ev>
154154
requires ::beman::execution::detail::queryable<::std::remove_cvref_t<Ev>>
155155
auto operator()(Sndr&& sndr, Tok&& tok, Ev&& ev) const {
156-
auto make{[&] -> decltype(auto) { //-dk:TODO while decltype(auto) instead of auto?
156+
auto make{[&]() -> decltype(auto) { //-dk:TODO while decltype(auto) instead of auto?
157157
return tok.wrap(::std::forward<Sndr>(sndr));
158158
}};
159159
using sndr_t = decltype(make());

0 commit comments

Comments
 (0)