diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-27 07:29:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-27 12:37:20 +0100 |
commit | f60c3734e38408b97e10e29a6c1d8780770d5b79 (patch) | |
tree | 20f778f31725b8960d13a04388757b2f53fa0164 /main | |
parent | 48b8e559cd72c95a5f72de625a608e85026e3785 (diff) |
compat/prelude: add operator""_uz() for size_t
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 02f58541..62c7fbf7 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -122,7 +122,7 @@ void main_impl::draw_world() noexcept if (check_chunk_visible(_shader.camera_offset(), sz)) { _anim_mesh.draw(_shader, c); - for (std::size_t i = 0; i < TILE_COUNT; i++) + for (auto i = 0_uz; i < TILE_COUNT; i++) { const local_coords xy{i}; if (auto [atlas, s] = c[xy].scenery(); atlas) |