Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions strings/base_coroutine_foundation.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ namespace winrt::impl
}
};

#ifdef WINRT_IMPL_COROUTINES
template <typename Async>
struct await_adapter : enable_await_cancellation
{
Expand Down Expand Up @@ -177,6 +178,7 @@ namespace winrt::impl
}
}
};
#endif

template <typename D>
auto consume_Windows_Foundation_IAsyncAction<D>::get() const
Expand Down Expand Up @@ -793,6 +795,7 @@ namespace std::experimental

WINRT_EXPORT namespace winrt
{
#ifdef WINRT_IMPL_COROUTINES
template <typename... T>
Windows::Foundation::IAsyncAction when_all(T... async)
{
Expand Down Expand Up @@ -838,4 +841,5 @@ WINRT_EXPORT namespace winrt
impl::check_status_canceled(shared->status);
co_return shared->result.GetResults();
}
#endif
}