Commit dafba203 authored by Max Kellermann's avatar Max Kellermann

util/ForeignFifoBuffer: use `auto`

parent a5d38234
...@@ -235,7 +235,7 @@ public: ...@@ -235,7 +235,7 @@ public:
w = Write(); 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); std::move(r.data, r.data + n, w.data);
Append(n); Append(n);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment