encoder/ToOutputStream: remove unnecessary cast

This commit is contained in:
Max Kellermann 2023-09-26 15:48:20 +02:00
parent 1090cc964a
commit 2075a9a999
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ EncoderToOutputStream(OutputStream &os, Encoder &encoder)
/* read from the encoder */
std::byte buffer[32768];
const auto r = encoder.Read(std::span{buffer});
const auto r = encoder.Read(buffer);
if (r.empty())
return;