summaryrefslogtreecommitdiffhomepage
path: root/test/serializer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-27 07:29:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-27 12:37:20 +0100
commitf60c3734e38408b97e10e29a6c1d8780770d5b79 (patch)
tree20f778f31725b8960d13a04388757b2f53fa0164 /test/serializer.cpp
parent48b8e559cd72c95a5f72de625a608e85026e3785 (diff)
compat/prelude: add operator""_uz() for size_t
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r--test/serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp
index 3e1e6a97..71b1a3f1 100644
--- a/test/serializer.cpp
+++ b/test/serializer.cpp
@@ -37,7 +37,7 @@ chunk test_app::make_test_chunk()
static bool chunks_equal(const chunk& a, const chunk& b)
{
- for (std::size_t i = 0; i < TILE_COUNT; i++)
+ for (auto i = 0_uz; i < TILE_COUNT; i++)
{
const auto &a1 = a[i], &b1 = b[i];
if (a1 != b1)