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
Closes #2661
  • Loading branch information
klemens-morgenstern committed Jun 20, 2023
1 parent ae01f02 commit 72c2eeb
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 72c2eeb

Please sign in to comment.