diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 09:02:26 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 09:02:26 +0200 |
| commit | 247e43df1afc2f0e1b9b77363e0a029b14033ae7 (patch) | |
| tree | 9dcc85685a0c9912aeb340777c1b8e708bd4fdd3 | |
| parent | bf018e10311a8a0ea2d79d2dffab0cb7a24856f2 (diff) | |
a
| -rw-r--r-- | main/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/camera.cpp b/main/camera.cpp index 3bef7c1d..9249bbb2 100644 --- a/main/camera.cpp +++ b/main/camera.cpp @@ -75,7 +75,7 @@ std::array<std::int16_t, 4> app::get_draw_bounds() const noexcept using limits = std::numeric_limits<std::int16_t>; auto x0 = limits::max(), x1 = limits::min(), y0 = limits::max(), y1 = limits::min(); - for (const chunk_coords& p : { p00, p10, p01, p11 }) + for (auto p : { p00, p10, p01, p11 }) { x0 = std::min(x0, p.x); x1 = std::max(x1, p.x); |
