diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4dcfd3..f0e9fb2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 168: * Use executor_work_guard in composed operations +* Revert verb.ipp change which caused spurious warnings -------------------------------------------------------------------------------- @@ -19,7 +20,6 @@ Version 166: Version 165: * Fix BOOST_NO_CXX11_ALLOCATOR check -* Tidy up a warning -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/impl/verb.ipp b/include/boost/beast/http/impl/verb.ipp index 8f8b2e33..bfd703d0 100644 --- a/include/boost/beast/http/impl/verb.ipp +++ b/include/boost/beast/http/impl/verb.ipp @@ -72,10 +72,6 @@ verb_to_string(verb v) } BOOST_THROW_EXCEPTION(std::invalid_argument{"unknown verb"}); - - // Help some compilers which don't know the next line is - // unreachable, otherwise spurious warnings are generated. - return ""; } template