null_buffers is deprecated

This commit is contained in:
Vinnie Falco committed 2017-11-20 11:48:57 -08:00
1 parent 75fcea69ee
commit 110a0d52e2
6 files changed
+18 -17

No files matched your search

@@ -124,8 +124,8 @@ operator()(error_code ec, std::size_t)
}
do_read:
return s_.async_read_some(
boost::asio::null_buffers{},
return s_.async_wait(
boost::asio::ip::tcp::socket::wait_read,
std::move(*this));
}
if(role_ == role_type::client)