summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-04 11:27:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-04 12:26:55 +0100
commite029531c1f5701bbace5f63b6c84d1cd8c6cd2bb (patch)
tree88bc812614e7d8d40c03da83938634084c95c607 /editor/update.cpp
parent2295ac3544573cd230b31f2bd40877f594ed5a05 (diff)
fix warning
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 5dd48868..d55419ab 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -13,7 +13,7 @@ void app::maybe_initialize_chunk_(const chunk_coords& pos, chunk& c)
{
(void)pos; (void)c;
- constexpr auto N = TILE_MAX_DIM;
+ [[maybe_unused]] constexpr auto N = TILE_MAX_DIM;
for (auto [x, k, pt] : c) {
#if 1
const auto& atlas = _floor1;