diff options
author | Tim Oesterreich <[email protected]> | 2019-03-06 16:34:07 +0100 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-16 10:48:13 +0200 |
commit | b1acdbfe4f6ed49691dc16e74bd8906bedf3c625 (patch) | |
tree | b9ce31b3c41723e28bd02847076f3495e712e4a0 /src/lib/tls/asio/asio_async_base.h | |
parent | e2ed1d7af6302d2d4f5da9460be85e2f99f7b6d0 (diff) |
async ops will now call operator() from their constructor -> initiating functions do not have to call async_read/write anymore
Diffstat (limited to 'src/lib/tls/asio/asio_async_base.h')
-rw-r--r-- | src/lib/tls/asio/asio_async_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/asio/asio_async_base.h b/src/lib/tls/asio/asio_async_base.h index 1d41cefaa..f7410e62a 100644 --- a/src/lib/tls/asio/asio_async_base.h +++ b/src/lib/tls/asio/asio_async_base.h @@ -46,7 +46,7 @@ struct AsyncBase : boost::asio::coroutine } template<class... Args> - void invoke_now(Args&& ... args) + void complete_now(Args&& ... args) { m_handler(std::forward<Args>(args)...); m_work_guard_1.reset(); |