clang-tidy: use auto

Signed-off-by: Rosen Penev <[email protected]>
This commit is contained in:
Rosen Penev authored and Jonathan White committed 2022-05-01 16:02:02 -04:00
1 parent f3f1520f81
commit 7e1d980d08
32 files changed
+224 -223

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ bool HashedBlockStream::readHashedBlock()
{
bool ok;
quint32 index = Endian::readSizedInt<quint32>(m_baseDevice, ByteOrder, &ok);
auto index = Endian::readSizedInt<quint32>(m_baseDevice, ByteOrder, &ok);
if (!ok || index != m_blockIndex) {
m_error = true;
setErrorString("Invalid block index.");