forked from boostorg/beast
http::parser is not MoveConstructible (API Change)
This commit is contained in:
@@ -8,6 +8,10 @@ WebSocket:
|
|||||||
* Add stream_fwd.hpp
|
* Add stream_fwd.hpp
|
||||||
* Remove unnecessary include
|
* Remove unnecessary include
|
||||||
|
|
||||||
|
API Changes:
|
||||||
|
|
||||||
|
* http::parser is not MoveConstructible
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 150:
|
Version 150:
|
||||||
|
@@ -84,21 +84,17 @@ public:
|
|||||||
/// Destructor
|
/// Destructor
|
||||||
~parser() = default;
|
~parser() = default;
|
||||||
|
|
||||||
/// Constructor
|
/// Constructor (disallowed)
|
||||||
parser();
|
|
||||||
|
|
||||||
/// Constructor
|
|
||||||
parser(parser const&) = delete;
|
parser(parser const&) = delete;
|
||||||
|
|
||||||
/// Assignment
|
/// Assignment (disallowed)
|
||||||
parser& operator=(parser const&) = delete;
|
parser& operator=(parser const&) = delete;
|
||||||
|
|
||||||
/** Constructor
|
/// Constructor (disallowed)
|
||||||
|
parser(parser&& other) = delete;
|
||||||
|
|
||||||
After the move, the only valid operation
|
/// Constructor
|
||||||
on the moved-from object is destruction.
|
parser();
|
||||||
*/
|
|
||||||
parser(parser&& other) = default;
|
|
||||||
|
|
||||||
/** Constructor
|
/** Constructor
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user