2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

RuntimeCommon: Const qualify auto references where source is const

Marks references that would be deduced as const automatically with const
to be explicit to the reader.
This commit is contained in:
Lioncash
2020-05-12 20:25:30 -04:00
parent 8e77d6175c
commit 4b5074b298
9 changed files with 61 additions and 50 deletions

View File

@@ -289,7 +289,7 @@ void CMFGameLoader::MakeLoadDependencyList() {
static constexpr std::array loadDepPAKs{"TestAnim", "SamusGun", "SamGunFx"};
std::vector<SObjectTag> tags;
for (const auto pak : loadDepPAKs) {
for (const auto* const pak : loadDepPAKs) {
g_ResFactory->GetTagListForFile(pak, tags);
}