util/*FifoBuffer: migrate from WritableBuffer to std::span

This commit is contained in:
Max Kellermann
2022-05-10 17:26:41 +02:00
committed by Max Kellermann
parent 570755f05a
commit bb7be9a4cd
23 changed files with 114 additions and 129 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ public:
[[gnu::pure]]
std::span<std::byte> Read() const noexcept {
return buffer.Read().ToVoid();
return std::as_writable_bytes(buffer.Read());
}
/**