Skip to content

Commit 8eada51

Browse files
committed
fix no-coroutines build
1 parent 3c6f9d0 commit 8eada51

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/stdexec/__detail/__connect.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace STDEXEC
4444

4545
template <class _Sender, class _Receiver>
4646
concept __with_co_await =
47-
__awaitable<_Sender, __connect_awaitable_t::__promise_t<_Sender, _Receiver>>;
47+
__awaitable<_Sender, __connect_await::__promise<_Sender, _Receiver>>;
4848

4949
template <class _Sender, class _Receiver>
5050
concept __with_legacy_tag_invoke = __tag_invocable<connect_t, _Sender, _Receiver>;

include/stdexec/__detail/__connect_awaitable.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ namespace STDEXEC
9494
{
9595
# if STDEXEC_MSVC()
9696
// MSVCBUG https://developercommunity.visualstudio.com/t/Double-destroy-of-a-local-in-coroutine-d/10456428
97-
// Reassign __coro_ before calling destroy to make the mutation
97+
// Reassign __coro before calling destroy to make the mutation
9898
// observable and to hopefully ensure that the compiler does not eliminate it.
9999
std::exchange(__coro, {}).destroy();
100100
# else
@@ -301,7 +301,7 @@ namespace STDEXEC
301301

302302
namespace __connect_await
303303
{
304-
template <class>
304+
template <class, class>
305305
struct __promise
306306
{};
307307

0 commit comments

Comments
 (0)