diff --git a/include/asio/ssl/detail/io.hpp b/include/asio/ssl/detail/io.hpp index ac9c3876ca..8b0eda254b 100644 --- a/include/asio/ssl/detail/io.hpp +++ b/include/asio/ssl/detail/io.hpp @@ -252,7 +252,7 @@ class io_op break; } } - + [[fallthrough]]; default: if (bytes_transferred == ~std::size_t(0)) bytes_transferred = 0; // Timer cancellation, no data transferred. @@ -302,7 +302,7 @@ class io_op core_.pending_write_.expires_at(core_.neg_infin()); // Fall through to call handler. - + [[fallthrough]]; default: // Pass the result to the handler.