http::parser is not MoveConstructible (API Change)

This commit is contained in:
Vinnie Falco
2017-12-30 06:08:28 -08:00
parent b6c3cb30ae
commit cccb6a07fc
2 changed files with 10 additions and 10 deletions

View File

@@ -8,6 +8,10 @@ WebSocket:
* Add stream_fwd.hpp
* Remove unnecessary include
API Changes:
* http::parser is not MoveConstructible
--------------------------------------------------------------------------------
Version 150:

View File

@@ -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