clang-tidy: use auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2022-03-04 00:43:44 -08:00
parent 962e3b7369
commit 04bacdedd6
29 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ try {
}
// Map it to memory
const Exiv2::byte* pData = file.mmap();
long size = static_cast<long>(file.size());
auto size = static_cast<long>(file.size());
DataBuf buf(size);
// Read from the memory mapped region
buf.copyBytes(0, pData, buf.size());