mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-29 08:56:18 +02:00
Fix warning
This commit is contained in:
parent
0a82c92e20
commit
530c4d394a
1 changed files with 2 additions and 2 deletions
|
@ -131,6 +131,6 @@ void StreamSessionTcp::read_next()
|
|||
void StreamSessionTcp::sendAsync(const shared_const_buffer& buffer, const WriteHandler& handler)
|
||||
{
|
||||
boost::asio::async_write(socket_, buffer,
|
||||
boost::asio::bind_executor(strand_, [ this, self = shared_from_this(), buffer,
|
||||
handler ](boost::system::error_code ec, std::size_t length) { handler(ec, length); }));
|
||||
boost::asio::bind_executor(strand_, [ self = shared_from_this(), buffer, handler ](boost::system::error_code ec,
|
||||
std::size_t length) { handler(ec, length); }));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue