From 7599aa400294c0c85983a21bf0d5f2e60da3af4e Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:37:14 +0100 Subject: [PATCH] Recast: remove use of auto Useless use of auto --- src/naveditor/GameUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/naveditor/GameUtils.cpp b/src/naveditor/GameUtils.cpp index 297e04a8..4011cf65 100644 --- a/src/naveditor/GameUtils.cpp +++ b/src/naveditor/GameUtils.cpp @@ -142,7 +142,7 @@ void buildLinkTable(dtNavMesh* mesh, LinkTableData& data) { auto l = *nlabels.begin(); poly.disjointSetId = (unsigned short)l; - for (auto nl : nlabels) + for (const int nl : nlabels) data.set_union(l, nl); } nlabels.clear();