diff --git a/CHANGELOG.md b/CHANGELOG.md index c712134e..1c53909e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 149: + +* built-in r-value return values can't be assigned + +-------------------------------------------------------------------------------- + Version 148: * Install codecov on codecov CI targets only diff --git a/include/boost/beast/http/fields.hpp b/include/boost/beast/http/fields.hpp index 1fe95684..59cb338b 100644 --- a/include/boost/beast/http/fields.hpp +++ b/include/boost/beast/http/fields.hpp @@ -102,7 +102,7 @@ public: value_type& operator=(value_type const&) = delete; /// Returns the field enum, which can be @ref field::unknown - field const + field name() const; /// Returns the field name as a string diff --git a/include/boost/beast/http/impl/fields.ipp b/include/boost/beast/http/impl/fields.ipp index 0e3d48ec..d7d233a2 100644 --- a/include/boost/beast/http/impl/fields.ipp +++ b/include/boost/beast/http/impl/fields.ipp @@ -291,7 +291,7 @@ value_type(field name, template inline -field const +field basic_fields:: value_type:: name() const