use some auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-11-23 13:44:24 -08:00 committed by Max Kellermann
parent e03f82636a
commit 5b51d0f733

View File

@ -720,7 +720,7 @@ PipeWireOutput::Process() noexcept
auto &buffer = *b->buffer; auto &buffer = *b->buffer;
auto &d = buffer.datas[0]; auto &d = buffer.datas[0];
std::byte *dest = (std::byte *)d.data; auto dest = (std::byte *)d.data;
if (dest == nullptr) if (dest == nullptr)
return; return;