diff options
author | Max Kellermann <max@musicpd.org> | 2021-01-21 16:37:50 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-01-21 16:38:32 +0100 |
commit | dafba203e7c3ac7e13f82648869b78566d8151ab (patch) | |
tree | 9edbc7add59f0f6059c9ac61ae79fe530bea66b8 /src | |
parent | a5d382348e5e993baf1877643ea6b4f0b09d5345 (diff) |
util/ForeignFifoBuffer: use `auto`
Diffstat (limited to 'src')
-rw-r--r-- | src/util/ForeignFifoBuffer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ForeignFifoBuffer.hxx b/src/util/ForeignFifoBuffer.hxx index d6912d3c2..65f6bce94 100644 --- a/src/util/ForeignFifoBuffer.hxx +++ b/src/util/ForeignFifoBuffer.hxx @@ -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); |