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