asio already aliased for boost::asio
This commit is contained in:
parent
850fe70873
commit
9662d87fbf
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ namespace SimpleWeb {
|
||||||
return asio::make_work_guard(context);
|
return asio::make_work_guard(context);
|
||||||
}
|
}
|
||||||
template <typename socket_type>
|
template <typename socket_type>
|
||||||
inline asio::basic_socket<boost::asio::ip::tcp>::executor_type get_executor(socket_type &socket) {
|
inline asio::basic_socket<asio::ip::tcp>::executor_type get_executor(socket_type &socket) {
|
||||||
return socket.get_executor();
|
return socket.get_executor();
|
||||||
}
|
}
|
||||||
template <typename execution_context, typename handler_type>
|
template <typename execution_context, typename handler_type>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue