Skip to content

Commit 0d48f1b

Browse files
committed
Disable duplicated error case condition.
1 parent a1ccfaa commit 0d48f1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/error.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ code asio_to_error_code(const boost_code& ec) NOEXCEPT
371371
case asio_basic_error_t::no_buffer_space:
372372
return error::invalid_configuration;
373373

374-
case asio_basic_error_t::try_again:
374+
// This duplicates would_block except on MSVC.
375+
////case asio_basic_error_t::try_again:
375376
case asio_basic_error_t::no_such_device:
376377
return error::file_system;
377378

0 commit comments

Comments
 (0)