diff options
author | Hannes Rantzsch <[email protected]> | 2019-04-16 11:34:54 +0200 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-16 11:34:54 +0200 |
commit | 26666dd7c8782975accc152b20173a17e7bcf1a6 (patch) | |
tree | 0263b74a8a5d65ed1d5210b883694babe4468ad6 /src/lib/tls/asio/asio_async_base.h | |
parent | ff9c69b03ba021cf1b00ae792639c9f66e9ae8c8 (diff) |
review: low hanging fruits
Diffstat (limited to 'src/lib/tls/asio/asio_async_base.h')
-rw-r--r-- | src/lib/tls/asio/asio_async_base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/tls/asio/asio_async_base.h b/src/lib/tls/asio/asio_async_base.h index 227f2bf82..6e344ec9b 100644 --- a/src/lib/tls/asio/asio_async_base.h +++ b/src/lib/tls/asio/asio_async_base.h @@ -16,7 +16,6 @@ #include <boost/version.hpp> #if BOOST_VERSION >= 106600 -#include <boost/asio/coroutine.hpp> #include <botan/internal/asio_includes.h> namespace Botan { @@ -56,6 +55,10 @@ namespace TLS { * as `async_read_some`, with and empty buffer, set the object itself as the handler, and `yield`. As a result, the call * operator will be invoked again, this time as a continuation, and will jump to the location where it yielded before * using `reenter`. It is now safe to call the handler function via `complete_now`. + * + * \tparam Handler Type of the completion handler + * \tparam Executor1 Type of the asio executor (usually derived from the lower layer) + * \tparam Allocator Type of the allocator to be used */ template <class Handler, class Executor1, class Allocator> struct AsyncBase : boost::asio::coroutine |