From a17a2c9feb63b362f1eaad516649bf1c0c5a9073 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 --- r5dev/naveditor/GameUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/naveditor/GameUtils.cpp b/r5dev/naveditor/GameUtils.cpp index 297e04a8..4011cf65 100644 --- a/r5dev/naveditor/GameUtils.cpp +++ b/r5dev/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();