summaryrefslogtreecommitdiff
path: root/ExporterTest/CollisionExporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ExporterTest/CollisionExporter.cpp')
-rw-r--r--ExporterTest/CollisionExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ExporterTest/CollisionExporter.cpp b/ExporterTest/CollisionExporter.cpp
index 0f25a60..db5ad1a 100644
--- a/ExporterTest/CollisionExporter.cpp
+++ b/ExporterTest/CollisionExporter.cpp
@@ -58,7 +58,7 @@ void ExporterExample_Collision::Save(ZResource* res, [[maybe_unused]] fs::path o
writer->Seek(col->polyTypeDefSegmentOffset, SeekOffsetType::Start);
- for (const auto poly : col->polygonTypes)
+ for (const auto& poly : col->polygonTypes)
{
writer->Write(poly.data[0]);
writer->Write(poly.data[1]);