Skip to content

Commit

Permalink
ssl_stream doesn't use BOOST_BEAST_ASYNC_TPARAM1 due to clang errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed May 12, 2023
1 parent e65aff4 commit ff041a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/beast/ssl/ssl_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ class ssl_stream
ssl_stream<SyncStream>& stream,
boost::system::error_code& ec);

template<class AsyncStream, BOOST_BEAST_ASYNC_TPARAM1 TeardownHandler>
template<class AsyncStream, typename TeardownHandler>
friend
void
async_teardown(
Expand All @@ -697,7 +697,7 @@ teardown(
}

template<class AsyncStream,
BOOST_BEAST_ASYNC_TPARAM1 TeardownHandler = net::default_completion_token_t<beast::executor_type<AsyncStream>>>
typename TeardownHandler = net::default_completion_token_t<beast::executor_type<AsyncStream>>>
void
async_teardown(
boost::beast::role_type role,
Expand Down

0 comments on commit ff041a1

Please sign in to comment.