input/async: pass std::span to AppendToBuffer()

This commit is contained in:
Max Kellermann
2022-11-17 06:10:55 +01:00
parent ce13d82657
commit c71958af4b
4 changed files with 18 additions and 12 deletions

View File

@@ -353,7 +353,7 @@ CurlInputStream::OnData(std::span<const std::byte> data)
throw CurlResponseHandler::Pause{};
}
AppendToBuffer(data.data(), data.size());
AppendToBuffer(data);
}
void