mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-24 14:36:15 +02:00
fix warnings
This commit is contained in:
parent
24b357287c
commit
9fe8c61c3b
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ void ControlSessionTcp::stop()
|
|||
void ControlSessionTcp::sendAsync(const std::string& message)
|
||||
{
|
||||
auto self(shared_from_this());
|
||||
boost::asio::async_write(socket_, boost::asio::buffer(message + "\r\n"), [this, self](std::error_code ec, std::size_t length) {
|
||||
boost::asio::async_write(socket_, boost::asio::buffer(message + "\r\n"), [self](std::error_code ec, std::size_t length) {
|
||||
if (ec)
|
||||
{
|
||||
LOG(ERROR) << "Error while writing to control socket: " << ec.message() << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue