summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index bf3192e..e29fb93 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -506,7 +506,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip)
out.emplace_back(first.extrusionVertex);
for (auto currentVertex = first.extrusionVertex;
!find_halfedge(currentVertex, second.extrusionVertex).is_valid();) {
- auto n = std::any_of(
+ [[maybe_unused]] const auto n = std::any_of(
voh_begin(currentVertex), voh_end(currentVertex), [&](const auto currentVertexOut) {
const auto next = next_halfedge_handle(currentVertexOut);
const auto nextVertex = to_vertex_handle(next);