File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ TEST_CASE("send/recv TCP/IPv4")
206
206
}()));
207
207
}
208
208
209
- #if !CPPCORO_COMPILER_MSVC || CPPCORO_COMPILER_MSVC > 192000000 || !CPPCORO_CPU_X86
209
+ #if !CPPCORO_COMPILER_MSVC || CPPCORO_COMPILER_MSVC >= 192000000 || !CPPCORO_CPU_X86
210
210
// HACK: Don't compile this function under MSVC x86.
211
211
// It results in an ICE under VS 2017.15 and earlier.
212
212
@@ -245,7 +245,7 @@ TEST_CASE("send/recv TCP/IPv4 many connections")
245
245
co_await s.disconnect ();
246
246
};
247
247
248
- auto echoServer = [&](cancellation_token ct) -> task<void >
248
+ auto echoServer = [&](cancellation_token ct) -> task<>
249
249
{
250
250
async_scope connectionScope;
251
251
@@ -304,7 +304,7 @@ TEST_CASE("send/recv TCP/IPv4 many connections")
304
304
CHECK (totalBytesReceived == 1000 );
305
305
};
306
306
307
- auto send = [&]() -> task<void >
307
+ auto send = [&]() -> task<>
308
308
{
309
309
std::uint8_t buffer[100 ];
310
310
for (std::uint64_t i = 0 ; i < 1000 ; i += sizeof (buffer))
You can’t perform that action at this time.
0 commit comments