Skip to content

Commit 4c2aabd

Browse files
committed
Merge branch 'unify_experimental_includes'
2 parents 8e70b80 + f71a7f6 commit 4c2aabd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/cppcoro/sync_wait.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace cppcoro
1818
auto sync_wait(AWAITABLE&& awaitable)
1919
-> typename cppcoro::awaitable_traits<AWAITABLE&&>::await_result_t
2020
{
21-
#if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'00'00000
21+
#if CPPCORO_COMPILER_MSVC && CPPCORO_COMPILER_MSVC < 19'20'00000
2222
// HACK: Need to explicitly specify template argument to make_sync_wait_task
2323
// here to work around a bug in MSVC when passing parameters by universal
2424
// reference to a coroutine which causes the compiler to think it needs to

test/socket_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ TEST_CASE("send/recv TCP/IPv4")
206206
}()));
207207
}
208208

209-
#if !CPPCORO_COMPILER_MSVC || CPPCORO_COMPILER_MSVC > 192000000 || !CPPCORO_CPU_X86
209+
#if !CPPCORO_COMPILER_MSVC || CPPCORO_COMPILER_MSVC >= 192000000 || !CPPCORO_CPU_X86
210210
// HACK: Don't compile this function under MSVC x86.
211211
// It results in an ICE under VS 2017.15 and earlier.
212212

0 commit comments

Comments
 (0)