We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8655e commit 6d74ab8Copy full SHA for 6d74ab8
src/resource/archive/ArchiveManager.cpp
@@ -24,7 +24,7 @@ void ArchiveManager::Init(const std::vector<std::string>& archivePaths,
24
const std::unordered_set<uint32_t>& validGameVersions) {
25
mValidGameVersions = validGameVersions;
26
auto archives = GetArchiveListInPaths(archivePaths);
27
- for (const auto archive : archives) {
+ for (const auto& archive : archives) {
28
AddArchive(archive);
29
}
30
0 commit comments