Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed May 2, 2024
1 parent 8a8655e commit 6d74ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource/archive/ArchiveManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void ArchiveManager::Init(const std::vector<std::string>& archivePaths,
const std::unordered_set<uint32_t>& validGameVersions) {
mValidGameVersions = validGameVersions;
auto archives = GetArchiveListInPaths(archivePaths);
for (const auto archive : archives) {
for (const auto& archive : archives) {
AddArchive(archive);
}
}
Expand Down

0 comments on commit 6d74ab8

Please sign in to comment.