From 296216a1223899d6faa01acd0549e1dba26e1116 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Tue, 5 Mar 2019 17:30:00 +1100 Subject: [PATCH] Fix handler tracking arguments in io_context implementation. --- asio/include/asio/impl/io_context.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asio/include/asio/impl/io_context.hpp b/asio/include/asio/impl/io_context.hpp index ed671ff2..d36b7f8c 100644 --- a/asio/include/asio/impl/io_context.hpp +++ b/asio/include/asio/impl/io_context.hpp @@ -160,7 +160,7 @@ struct io_context::initiate_dispatch p.p = new (p.v) op(handler2.value); ASIO_HANDLER_CREATION((*self, *p.p, - "io_context", this, 0, "dispatch")); + "io_context", self, 0, "dispatch")); self->impl_.do_dispatch(p.p); p.v = p.p = 0; @@ -200,7 +200,7 @@ struct io_context::initiate_post p.p = new (p.v) op(handler2.value); ASIO_HANDLER_CREATION((*self, *p.p, - "io_context", this, 0, "post")); + "io_context", self, 0, "post")); self->impl_.post_immediate_completion(p.p, is_continuation); p.v = p.p = 0;