*: 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

@@ -124,7 +124,7 @@ InputStream::LockRead(void *ptr, size_t _size)
void
InputStream::ReadFull(std::unique_lock<Mutex> &lock, void *_ptr, size_t _size)
{
uint8_t *ptr = (uint8_t *)_ptr;
auto *ptr = (uint8_t *)_ptr;
size_t nbytes_total = 0;
while (_size > 0) {