diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c9fbe68..309f8352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ Version 45 * Workaround for boost::asio::basic_streambuf type check * Fix message doc image * Better test::enable_yield_to +* Add test::pipe +* Fix header::reason -------------------------------------------------------------------------------- diff --git a/include/beast/http/message.hpp b/include/beast/http/message.hpp index 3353cdd7..d1a6d2fd 100644 --- a/include/beast/http/message.hpp +++ b/include/beast/http/message.hpp @@ -246,7 +246,7 @@ struct header */ auto reason() const -> - decltype(std::declval().method()) const + decltype(std::declval().reason()) const { return fields.reason(); }