diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ff9bfb..f66f0412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Version 54: * basic_fields members and coverage * Add string_param * Retain ownership when reading using a message +* Fix incorrect use of [[fallthrough]] API Changes: diff --git a/include/beast/http/impl/read.ipp b/include/beast/http/impl/read.ipp index 473afc5f..1d804763 100644 --- a/include/beast/http/impl/read.ipp +++ b/include/beast/http/impl/read.ipp @@ -140,7 +140,6 @@ operator()(error_code ec, std::size_t bytes_transferred) if(! ec || ec != http::error::need_more) goto do_upcall; ec = {}; - BOOST_FALLTHROUGH; do_read: try @@ -277,7 +276,6 @@ operator()(error_code ec) bind_handler(std::move(*this), ec)); } state_ = 2; - BOOST_FALLTHROUGH; do_read: return async_read_some(