@@ -77,7 +77,7 @@ namespace cppcoro
77
77
assert (false );
78
78
}
79
79
80
- #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'00 '00000
80
+ #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'20 '00000
81
81
// HACK: This is needed to work around a bug in MSVC 2017.7/2017.8.
82
82
// See comment in make_when_all_task below.
83
83
template <typename Awaitable>
@@ -302,7 +302,7 @@ namespace cppcoro
302
302
std::enable_if_t <!std::is_void_v<RESULT>, int > = 0 >
303
303
when_all_task<RESULT> make_when_all_task (AWAITABLE awaitable)
304
304
{
305
- #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'00 '00000
305
+ #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'20 '00000
306
306
// HACK: Workaround another bug in MSVC where the expression 'co_yield co_await x' seems
307
307
// to completely ignore the co_yield an never calls promise.yield_value().
308
308
// The coroutine seems to be resuming the 'co_await' after the 'co_yield'
@@ -330,7 +330,7 @@ namespace cppcoro
330
330
std::enable_if_t <!std::is_void_v<RESULT>, int > = 0 >
331
331
when_all_task<RESULT> make_when_all_task (std::reference_wrapper<AWAITABLE> awaitable)
332
332
{
333
- #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'00 '00000
333
+ #if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'20 '00000
334
334
// HACK: Workaround another bug in MSVC where the expression 'co_yield co_await x' seems
335
335
// to completely ignore the co_yield and never calls promise.yield_value().
336
336
// The coroutine seems to be resuming the 'co_await' after the 'co_yield'
0 commit comments