add executor_type to socket_type

This commit is contained in:
Arvid Norberg 2019-11-13 15:36:05 +00:00 committed by Arvid Norberg
parent 6d441da9e5
commit 48fa5343b5
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ namespace aux {
using receive_buffer_size = tcp::socket::receive_buffer_size;
using send_buffer_size = tcp::socket::send_buffer_size;
#if BOOST_VERSION >= 106600
using executor_type = tcp::socket::executor_type;
#endif
explicit socket_type(io_service& ios): m_io_service(ios), m_type(0) {}
~socket_type();