util/*FifoBuffer: migrate from WritableBuffer to std::span
This commit is contained in:
committed by
Max Kellermann
parent
570755f05a
commit
bb7be9a4cd
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user