From 3c4ae2a09887b8a5849606cf3328447188b93d30 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 27 Jun 2017 20:38:01 -0700 Subject: [PATCH] Rename to message::base (API Change): Actions Required: * Change calls to message::header_part() with message::base() --- CHANGELOG.md | 8 ++++++++ include/beast/http/message.hpp | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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; }