Fix basic_stream lowest_layer for ssl

This commit is contained in:
Vinnie Falco committed 2019-03-12 18:58:24 -07:00
1 parent b7c3c1eb1a
commit fdc83c981b
2 files changed
+4 -9

No files matched your search

+3 -3
View File
@@ -294,15 +294,15 @@ private:
template<class>
friend class boost::asio::ssl::stream;
// DEPRECATED
using lowest_layer_type = net::basic_stream_socket<Protocol>;
using lowest_layer_type = socket_type;
// DEPRECATED
net::basic_stream_socket<Protocol>&
lowest_layer_type&
lowest_layer() noexcept
{
return impl_->socket;
}
// DEPRECATED
net::basic_stream_socket<Protocol> const&
lowest_layer_type const&
lowest_layer() const noexcept
{
return impl_->socket;