summaryrefslogtreecommitdiff
path: root/Userland/Games/2048/Game.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-02-05 19:02:54 +0000
committerLinus Groh <mail@linusgroh.de>2023-02-08 19:15:45 +0000
commit63b11030f03e5a0fd06d9c8cfa788da0388096d8 (patch)
tree3ea0fa1e751683b643c71da95b6ecf98a97508cf /Userland/Games/2048/Game.cpp
parent1c92e6ee9d1f686f20f37445150d63ae474b7e9b (diff)
downloadserenity-63b11030f03e5a0fd06d9c8cfa788da0388096d8.zip
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
Diffstat (limited to 'Userland/Games/2048/Game.cpp')
-rw-r--r--Userland/Games/2048/Game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/2048/Game.cpp b/Userland/Games/2048/Game.cpp
index 8076e1d852..5552d63be3 100644
--- a/Userland/Games/2048/Game.cpp
+++ b/Userland/Games/2048/Game.cpp
@@ -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;