summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2022-12-06 19:01:48 -0500
committerGitHub <noreply@github.com>2022-12-06 19:01:48 -0500
commitdcf56d93ecbd4db3bfd8a4832d7f991467964b98 (patch)
tree9da9515c41edc502f55b5baabb2c7ed815d168a6
parenta80f36ca0f003a3901fc781505f707ca2ef4c63a (diff)
Cleanups (#273)
-rw-r--r--ExporterTest/CollisionExporter.cpp2
-rw-r--r--Makefile2
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]);
diff --git a/Makefile b/Makefile
index 2b47a80..e725f94 100644
--- a/Makefile
+++ b/Makefile
@@ -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 :=