From 46fc283494027fe1e2aaf5eae457a2be1c65efab Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 18 Mar 2024 01:04:42 +0000 Subject: maybe_unused return from cut point search Only asserted --- game/geoData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game') 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 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); -- cgit v1.2.3