From 857fc22667d77d0125875d36573ed222d92ad610 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sun, 11 Jun 2017 13:52:38 -0700 Subject: [PATCH] Fix incorrect use of [[fallthrough]] fix #468 --- CHANGELOG.md | 1 + include/beast/http/impl/read.ipp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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(