2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 02:27:43 +00:00

CPoseAsTransforms: Make use of std::array where applicable

This commit is contained in:
Lioncash
2020-03-16 16:07:04 -04:00
parent cc6d50a1aa
commit f45e2362c5
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <memory>
#include <utility>
@@ -24,7 +25,7 @@ public:
private:
CSegId x0_nextId = 0;
CSegId x1_count;
std::pair<CSegId, CSegId> x8_links[100];
std::array<std::pair<CSegId, CSegId>, 100> x8_links;
std::unique_ptr<Transform[]> xd0_transformArr;
CSegId xd4_lastInserted = 0;