mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
This commit is contained in:
parent
1c92e6ee9d
commit
63b11030f0
102 changed files with 206 additions and 206 deletions
|
@ -152,7 +152,7 @@ void HardwareScreenBackend::set_head_buffer(int head_index)
|
|||
VERIFY(rc == 0);
|
||||
}
|
||||
|
||||
ErrorOr<void> HardwareScreenBackend::flush_framebuffer_rects(int buffer_index, Span<FBRect const> flush_rects)
|
||||
ErrorOr<void> HardwareScreenBackend::flush_framebuffer_rects(int buffer_index, ReadonlySpan<FBRect> flush_rects)
|
||||
{
|
||||
int rc = fb_flush_buffers(m_display_connector_fd, buffer_index, flush_rects.data(), (unsigned)flush_rects.size());
|
||||
if (rc == -ENOTSUP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue