pausation always allocates

This commit is contained in:
Vinnie Falco committed 2017-12-04 12:14:39 -08:00
1 parent eb0cc97e1a
commit 3361df142c
4 files changed
+78 -144

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ operator()(
// Suspend
BOOST_ASSERT(ws_.wr_block_ != tok_);
BOOST_ASIO_CORO_YIELD
ws_.paused_wr_.save(std::move(*this));
ws_.paused_wr_.emplace(std::move(*this));
// Acquire the write block
BOOST_ASSERT(! ws_.wr_block_);