mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
Remove unused shared_from_this
This commit is contained in:
parent
a01f61b3c8
commit
7b268b83df
8 changed files with 30 additions and 39 deletions
|
@ -166,8 +166,7 @@ void AirplayStream::pipeReadLine()
|
|||
}
|
||||
|
||||
const std::string delimiter = "\n";
|
||||
auto self = shared_from_this();
|
||||
boost::asio::async_read_until(*pipe_fd_, streambuf_pipe_, delimiter, [this, self, delimiter](const std::error_code& ec, std::size_t bytes_transferred) {
|
||||
boost::asio::async_read_until(*pipe_fd_, streambuf_pipe_, delimiter, [this, delimiter](const std::error_code& ec, std::size_t bytes_transferred) {
|
||||
if (ec)
|
||||
{
|
||||
LOG(ERROR, LOG_TAG) << "Error while reading from pipe: " << ec.message() << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue