summaryrefslogtreecommitdiffhomepage
path: root/test/serializer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-25 14:36:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-25 14:36:29 +0100
commit947a8d3ab773b539dfc18da20d8e5934b5ea9d62 (patch)
treef1a2ce5e913c8553a3fd6087a70f84f82c00669b /test/serializer.cpp
parent7d659dbe06cd8efc1d6eb4ef2c5fbc8ae27a4568 (diff)
use operator""uz c++23 polyfill
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r--test/serializer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp
index 236003cf..0e10b899 100644
--- a/test/serializer.cpp
+++ b/test/serializer.cpp
@@ -49,13 +49,13 @@ void assert_chunks_equal(const chunk& a, const chunk& b)
{
fm_assert(a.entities().size() == b.entities().size());
- for (auto i = 0_uz; i < TILE_COUNT; i++)
+ for (auto i = 0uz; i < TILE_COUNT; i++)
{
const auto &a1 = a[i], &b1 = b[i];
fm_assert(a1 == b1);
}
- for (auto i = 0_uz; i < a.entities().size(); i++)
+ for (auto i = 0uz; i < a.entities().size(); i++)
{
const auto& ae = *a.entities()[i];
const auto& be = *b.entities()[i];