Fix pausation::save

This commit is contained in:
Vinnie Falco
2017-08-09 18:47:43 -07:00
parent 9fd7e4adee
commit 6ef4afa765
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ Version 104:
* Tidy up some test warnings
* tools/ renamed from build/
WebSocket:
* Fix pausation::save
--------------------------------------------------------------------------------
Version 103:

View File

@ -121,7 +121,7 @@ class pausation
saved_op(Op&& op)
{
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::move(op)};
}