*: use auto

This commit is contained in:
Max Kellermann
2020-02-01 13:55:08 +01:00
parent 4f22f4d357
commit 72ec641f0d
51 changed files with 87 additions and 87 deletions

View File

@@ -36,7 +36,7 @@ IsGzip(const uint8_t data[4]) noexcept
inline void
AutoGunzipReader::Detect()
{
const uint8_t *data = (const uint8_t *)peek.Peek(4);
const auto *data = (const uint8_t *)peek.Peek(4);
if (data == nullptr) {
next = &peek;
return;