Use bind_front_handler:

The implementation uses bind_front_handler to reduce the
resources consumed when instantiating templates during
compilation.
This commit is contained in:
Vinnie Falco committed 2018-11-21 12:47:38 -08:00
1 parent d581bcc348
commit 15dd535c24
12 files changed
+29 -25

No files matched your search

@@ -126,7 +126,7 @@ read_some_op<MutableBufferSequence, Handler>::operator()(
step_ = 3;
return boost::asio::post(
s_.get_executor(),
bind_handler(std::move(*this), ec, 0));
bind_front_handler(std::move(*this), ec, 0));
case 1:
// upcall