diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cbe928e..30e27f0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 92: * Fix typo in test/CMakeLists.txt +* basic_fields::value_type is not copyable -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/fields.hpp b/include/boost/beast/http/fields.hpp index 77571081..50a62888 100644 --- a/include/boost/beast/http/fields.hpp +++ b/include/boost/beast/http/fields.hpp @@ -85,6 +85,12 @@ public: field f_; public: + /// Constructor (deleted) + value_type(value_type const&) = delete; + + /// Assignment (deleted) + value_type& operator=(value_type const&) = delete; + /// Returns the field enum, which can be @ref field::unknown field name() const;