diff --git a/CHANGELOG.md b/CHANGELOG.md index bcb0392e..44a094b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ WebSocket: * Add stream_fwd.hpp * Remove unnecessary include +API Changes: + +* http::parser is not MoveConstructible + -------------------------------------------------------------------------------- Version 150: diff --git a/include/boost/beast/http/parser.hpp b/include/boost/beast/http/parser.hpp index 17ed4969..69d93cf0 100644 --- a/include/boost/beast/http/parser.hpp +++ b/include/boost/beast/http/parser.hpp @@ -84,21 +84,17 @@ public: /// Destructor ~parser() = default; - /// Constructor - parser(); - - /// Constructor + /// Constructor (disallowed) parser(parser const&) = delete; - /// Assignment + /// Assignment (disallowed) parser& operator=(parser const&) = delete; - /** Constructor + /// Constructor (disallowed) + parser(parser&& other) = delete; - After the move, the only valid operation - on the moved-from object is destruction. - */ - parser(parser&& other) = default; + /// Constructor + parser(); /** Constructor