Skip to content

Commit

Permalink
Fix some long lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed May 10, 2015
1 parent 1eb5936 commit b056bff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions asio/include/asio/basic_socket_acceptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,9 @@ class basic_socket_acceptor
ASIO_MOVE_ACCEPT_HANDLER_CHECK(MoveAcceptHandler,
handler, typename Protocol::socket) type_check;

return this->get_service().async_accept(this->get_implementation(),
static_cast<asio::io_service*>(0), static_cast<endpoint_type*>(0),
return this->get_service().async_accept(
this->get_implementation(), static_cast<asio::io_service*>(0),
static_cast<endpoint_type*>(0),
ASIO_MOVE_CAST(MoveAcceptHandler)(handler));
}

Expand Down
3 changes: 2 additions & 1 deletion asio/include/asio/socket_acceptor_service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ class socket_acceptor_service
ASIO_MOVE_ARG(MoveAcceptHandler) handler)
{
async_completion<MoveAcceptHandler,
void (asio::error_code, typename Protocol::socket)> init(handler);
void (asio::error_code,
typename Protocol::socket)> init(handler);

service_impl_.async_accept(impl,
peer_io_service, peer_endpoint, init.handler);
Expand Down

0 comments on commit b056bff

Please sign in to comment.