diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-25 14:36:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-25 14:36:29 +0100 |
commit | 947a8d3ab773b539dfc18da20d8e5934b5ea9d62 (patch) | |
tree | f1a2ce5e913c8553a3fd6087a70f84f82c00669b /src/chunk.cpp | |
parent | 7d659dbe06cd8efc1d6eb4ef2c5fbc8ae27a4568 (diff) |
use operator""uz c++23 polyfill
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r-- | src/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index 2c65ccae..21ebe800 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -25,7 +25,7 @@ bool chunk::empty(bool force) const noexcept { if (!force && !_maybe_empty) return false; - for (auto i = 0_uz; i < TILE_COUNT; i++) + for (auto i = 0uz; i < TILE_COUNT; i++) if (_ground_atlases[i] || _wall_atlases[i*2 + 0] || _wall_atlases[i*2 + 1] || !_entities.empty()) return _maybe_empty = false; if (!_entities.empty()) |