1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:37:34 +00:00

Everywhere: Use ReadonlySpan<T> instead of Span<T const>

This commit is contained in:
MacDue 2023-02-05 19:02:54 +00:00 committed by Linus Groh
parent 1c92e6ee9d
commit 63b11030f0
102 changed files with 206 additions and 206 deletions

View file

@ -141,7 +141,7 @@ static bool is_complete(Game::Board const& board, size_t target)
return false;
}
static bool has_no_neighbors(Span<u32 const> const& row)
static bool has_no_neighbors(ReadonlySpan<u32> const& row)
{
if (row.size() < 2)
return true;