Skip to content

Commit 19d3bfd

Browse files
authored
Update socket_tests.cpp
1 parent afefc9f commit 19d3bfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/socket_tests.cpp

Lines changed: 3 additions & 3 deletions
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

@@ -245,7 +245,7 @@ TEST_CASE("send/recv TCP/IPv4 many connections")
245245
co_await s.disconnect();
246246
};
247247

248-
auto echoServer = [&](cancellation_token ct) -> task<void>
248+
auto echoServer = [&](cancellation_token ct) -> task<>
249249
{
250250
async_scope connectionScope;
251251

@@ -304,7 +304,7 @@ TEST_CASE("send/recv TCP/IPv4 many connections")
304304
CHECK(totalBytesReceived == 1000);
305305
};
306306

307-
auto send = [&]() -> task<void>
307+
auto send = [&]() -> task<>
308308
{
309309
std::uint8_t buffer[100];
310310
for (std::uint64_t i = 0; i < 1000; i += sizeof(buffer))

0 commit comments

Comments
 (0)