diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2022-12-06 19:01:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-06 19:01:48 -0500 |
| commit | dcf56d93ecbd4db3bfd8a4832d7f991467964b98 (patch) | |
| tree | 9da9515c41edc502f55b5baabb2c7ed815d168a6 | |
| parent | a80f36ca0f003a3901fc781505f707ca2ef4c63a (diff) | |
Cleanups (#273)
| -rw-r--r-- | ExporterTest/CollisionExporter.cpp | 2 | ||||
| -rw-r--r-- | Makefile | 2 |
2 files changed, 2 insertions, 2 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]); @@ -15,7 +15,7 @@ else CXX := g++ endif -INC := -I ZAPD -I lib/elfio -I lib/libgfxd -I lib/tinyxml2 -I ZAPDUtils +INC := -I ZAPD -I lib/libgfxd -I lib/tinyxml2 -I ZAPDUtils CXXFLAGS := -fpic -std=c++17 -Wall -Wextra -fno-omit-frame-pointer OPTFLAGS := |
