aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-04-23 13:31:33 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-04-23 13:54:39 +0100
commit3517dfe05c05a48885149334143230fcf0ebe6be (patch)
tree961c84230b7bcaddcc2415a35badd180979dbc71 /gcc
parenta752a43073dc49909c017fd52feacd7526ed31c0 (diff)
downloadgcc-3517dfe05c05a48885149334143230fcf0ebe6be.zip
gcc-3517dfe05c05a48885149334143230fcf0ebe6be.tar.gz
gcc-3517dfe05c05a48885149334143230fcf0ebe6be.tar.bz2
libstdc++: Clarify argument to net::io_context::async_wait
Add a comment documenting the __w parameter of the private ios_context::async_wait function. Add casts to callers, making the conversions explicit. libstdc++-v3/ChangeLog: * include/experimental/io_context (io_context::async_wait): Add comment. * include/experimental/socket (basic_socket::async_connect): Cast wait_type constant to int. (basic_datagram_socket::async_receive): Likewise. (basic_datagram_socket::async_receive_from): Likewise. (basic_datagram_socket::async_send): Likewise. (basic_datagram_socket::async_send_to): Likewise. (basic_stream_socket::async_receive): Likewise. (basic_stream_socket::async_send): Likewise. Use io_context parameter directly, instead of via an executor. (basic_socket_acceptor::async_accept): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions