@@ -83,7 +83,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
8383 // / @param buffer Buffers holding the data to be sent.
8484 // / @param handler User supplied callback to be invoked when data have
8585 // / been sent or sending error is signalled.
86- void doSend (const boost::asio::const_buffers_1 & buffer,
86+ void doSend (const boost::asio::const_buffer & buffer,
8787 const UnixDomainSocket::Handler& handler);
8888
8989
@@ -103,7 +103,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
103103 // / @param ec Error code returned as a result of sending the data.
104104 // / @param length Length of the data sent.
105105 void sendHandler (const UnixDomainSocket::Handler& remote_handler,
106- const boost::asio::const_buffers_1 & buffer,
106+ const boost::asio::const_buffer & buffer,
107107 const boost::system::error_code& ec,
108108 size_t length);
109109
@@ -127,7 +127,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
127127 // / @param buffer A buffer into which the data should be received.
128128 // / @param handler User supplied callback invoked when data have been
129129 // / received on an error is signalled.
130- void doReceive (const boost::asio::mutable_buffers_1 & buffer,
130+ void doReceive (const boost::asio::mutable_buffer & buffer,
131131 const UnixDomainSocket::Handler& handler);
132132
133133 // / @brief Local handler invoked as a result of asynchronous receive.
@@ -146,7 +146,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
146146 // / @param ec Error code returned as a result of asynchronous receive.
147147 // / @param length Size of the received data.
148148 void receiveHandler (const UnixDomainSocket::Handler& remote_handler,
149- const boost::asio::mutable_buffers_1 & buffer,
149+ const boost::asio::mutable_buffer & buffer,
150150 const boost::system::error_code& ec,
151151 size_t length);
152152
@@ -197,7 +197,7 @@ UnixDomainSocketImpl::asyncSend(const void* data, const size_t length,
197197}
198198
199199void
200- UnixDomainSocketImpl::doSend (const boost::asio::const_buffers_1 & buffer,
200+ UnixDomainSocketImpl::doSend (const boost::asio::const_buffer & buffer,
201201 const UnixDomainSocket::Handler& handler) {
202202 auto local_handler = std::bind (&UnixDomainSocketImpl::sendHandler,
203203 shared_from_this (),
@@ -207,7 +207,7 @@ UnixDomainSocketImpl::doSend(const boost::asio::const_buffers_1& buffer,
207207
208208void
209209UnixDomainSocketImpl::sendHandler (const UnixDomainSocket::Handler& remote_handler,
210- const boost::asio::const_buffers_1 & buffer,
210+ const boost::asio::const_buffer & buffer,
211211 const boost::system::error_code& ec,
212212 size_t length) {
213213 // The asynchronous send may return EWOULDBLOCK or EAGAIN on some
@@ -230,7 +230,7 @@ UnixDomainSocketImpl::asyncReceive(void* data, const size_t length,
230230}
231231
232232void
233- UnixDomainSocketImpl::doReceive (const boost::asio::mutable_buffers_1 & buffer,
233+ UnixDomainSocketImpl::doReceive (const boost::asio::mutable_buffer & buffer,
234234 const UnixDomainSocket::Handler& handler) {
235235 auto local_handler = std::bind (&UnixDomainSocketImpl::receiveHandler,
236236 shared_from_this (),
@@ -240,7 +240,7 @@ UnixDomainSocketImpl::doReceive(const boost::asio::mutable_buffers_1& buffer,
240240
241241void
242242UnixDomainSocketImpl::receiveHandler (const UnixDomainSocket::Handler& remote_handler,
243- const boost::asio::mutable_buffers_1 & buffer,
243+ const boost::asio::mutable_buffer & buffer,
244244 const boost::system::error_code& ec,
245245 size_t length) {
246246 // The asynchronous receive may return EWOULDBLOCK or EAGAIN on some
0 commit comments