diff --git a/CHANGELOG.md b/CHANGELOG.md index 4962045f..0578bc56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ Version 70: * Serialize in one step when possible +API Changes: + +* Rename to message::base + +Actions Required: + +* Change calls to message::header_part() with message::base() + -------------------------------------------------------------------------------- Version 69: diff --git a/include/beast/http/message.hpp b/include/beast/http/message.hpp index 1f7df745..7fcd5650 100644 --- a/include/beast/http/message.hpp +++ b/include/beast/http/message.hpp @@ -489,14 +489,14 @@ struct message : header /// Returns the header portion of the message header_type const& - header_part() const + base() const { return *this; } /// Returns the header portion of the message header_type& - header_part() + base() { return *this; }