aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Ionut Tripon <alexandru.tripon97@gmail.com>2023-09-20 18:45:23 +0300
committerGitHub <noreply@github.com>2023-09-20 18:45:23 +0300
commit81a3ba18bc9740d543fe9aa569f74f37ec46c2cc (patch)
tree6ed5cf59b5afc96ee46aca4d67f7260a89ceff52
parent0680d2dceb27f18b1c888bf16079dfd00d07b3ca (diff)
downloadPrismLauncher-81a3ba18bc9740d543fe9aa569f74f37ec46c2cc.tar.gz
PrismLauncher-81a3ba18bc9740d543fe9aa569f74f37ec46c2cc.tar.bz2
PrismLauncher-81a3ba18bc9740d543fe9aa569f74f37ec46c2cc.zip
Update launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
-rw-r--r--launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp b/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
index 87439173..bd1fe940 100644
--- a/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
+++ b/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
@@ -256,7 +256,7 @@ QHash<QString, QStringList> GetModDependenciesTask::getRequiredBy()
{
QHash<QString, QStringList> rby;
auto fullList = m_selected + m_pack_dependencies;
- for (auto mod : fullList) {
+ for (auto& mod : fullList) {
auto addonId = mod->pack->addonId;
auto provider = mod->pack->provider;
auto version = mod->version.fileId;