util/ForeignFifoBuffer: use `auto`

This commit is contained in:
Max Kellermann 2021-01-21 16:37:50 +01:00
parent a5d382348e
commit dafba203e7
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public:
w = Write();
}
size_t n = std::min(r.size, w.size);
const auto n = std::min(r.size, w.size);
std::move(r.data, r.data + n, w.data);
Append(n);