util/ForeignFifoBuffer: use `auto`
This commit is contained in:
parent
a5d382348e
commit
dafba203e7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue