Fix warning

This commit is contained in:
badaix 2020-11-10 17:59:32 +01:00
parent f07453bd60
commit 7abec2eaf6
2 changed files with 3 additions and 3 deletions

View file

@ -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;