From 26666dd7c8782975accc152b20173a17e7bcf1a6 Mon Sep 17 00:00:00 2001 From: Hannes Rantzsch Date: Tue, 16 Apr 2019 11:34:54 +0200 Subject: review: low hanging fruits --- src/lib/tls/asio/asio_async_base.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/tls/asio/asio_async_base.h') 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 #if BOOST_VERSION >= 106600 -#include #include 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 struct AsyncBase : boost::asio::coroutine -- cgit v1.2.3