Fix close_socket for net::basic_socket changes

This commit is contained in:
Vinnie Falco
2019-03-12 16:20:36 -07:00
parent 3c878479d0
commit 554701845c
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
Version 232:
* Fix close_socket for net::basic_socket changes
--------------------------------------------------------------------------------
Version 231:
* Doc section names are stable

View File

@@ -435,10 +435,13 @@ using is_async_stream = std::integral_constant<bool,
@see close_socket
*/
template<class Protocol>
template<
class Protocol,
class Executor>
void
beast_close_socket(
net::basic_socket<Protocol>& sock)
net::basic_socket<
Protocol, Executor>& sock)
{
boost::system::error_code ec;
sock.close(ec);