mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 16:16:42 +02:00
Fix warning
This commit is contained in:
parent
f07453bd60
commit
7abec2eaf6
2 changed files with 3 additions and 3 deletions
|
@ -153,7 +153,7 @@ const PcmStreamPtr StreamManager::getDefaultStream()
|
|||
if (streams_.empty())
|
||||
return nullptr;
|
||||
|
||||
for (const auto stream : streams_)
|
||||
for (const auto& stream : streams_)
|
||||
{
|
||||
if (stream->getCodec() != "null")
|
||||
return stream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue