mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +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
|
@ -168,8 +168,7 @@ void StreamSession::send_next()
|
|||
|
||||
void StreamSession::sendAsync(shared_const_buffer const_buf, bool send_now)
|
||||
{
|
||||
auto self = shared_from_this();
|
||||
strand_.post([this, self, const_buf, send_now]() {
|
||||
strand_.post([this, const_buf, send_now]() {
|
||||
if (send_now)
|
||||
messages_.push_front(const_buf);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue