This commit is contained in:
Vinnie Falco
2019-03-05 08:00:14 -08:00
parent 31331bbe4d
commit 8e2620e2b1
41 changed files with 171 additions and 250 deletions
+1 -1
View File
@@ -581,7 +581,7 @@ public:
// Asynchronously read into a buffer until the buffer is full, or an error occurs
template<class AsyncReadStream, class ReadHandler>
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler, void (error_code, std::size_t))
typename net::async_result<ReadHandler, void(error_code, std::size_t)>::return_type
async_read(AsyncReadStream& stream, net::mutable_buffer buffer, ReadHandler&& handler)
{
using handler_type = BOOST_ASIO_HANDLER_TYPE(ReadHandler, void(error_code, std::size_t));