mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
http::parser is not MoveConstructible (API Change)
This commit is contained in:
@@ -8,6 +8,10 @@ WebSocket:
|
||||
* Add stream_fwd.hpp
|
||||
* Remove unnecessary include
|
||||
|
||||
API Changes:
|
||||
|
||||
* http::parser is not MoveConstructible
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 150:
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user