encoder/ToOutputStream: remove unnecessary cast
This commit is contained in:
@@ -12,7 +12,7 @@ EncoderToOutputStream(OutputStream &os, Encoder &encoder)
|
|||||||
/* read from the encoder */
|
/* read from the encoder */
|
||||||
|
|
||||||
std::byte buffer[32768];
|
std::byte buffer[32768];
|
||||||
const auto r = encoder.Read(std::span{buffer});
|
const auto r = encoder.Read(buffer);
|
||||||
if (r.empty())
|
if (r.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user