forked from boostorg/beast
Fix pausation::save
This commit is contained in:
@@ -7,6 +7,10 @@ Version 104:
|
|||||||
* Tidy up some test warnings
|
* Tidy up some test warnings
|
||||||
* tools/ renamed from build/
|
* tools/ renamed from build/
|
||||||
|
|
||||||
|
WebSocket:
|
||||||
|
|
||||||
|
* Fix pausation::save
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 103:
|
Version 103:
|
||||||
|
@@ -121,7 +121,7 @@ class pausation
|
|||||||
saved_op(Op&& op)
|
saved_op(Op&& op)
|
||||||
{
|
{
|
||||||
using boost::asio::asio_handler_allocate;
|
using boost::asio::asio_handler_allocate;
|
||||||
new(asio_handler_allocate(sizeof(Op),
|
op_ = new(asio_handler_allocate(sizeof(Op),
|
||||||
std::addressof(op.handler()))) Op{
|
std::addressof(op.handler()))) Op{
|
||||||
std::move(op)};
|
std::move(op)};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user