aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackIndex.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-04-17 20:41:00 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-04-21 18:42:06 +0300
commitfac33498dbd50fd9af60164e786534615586d6ac (patch)
tree5b970202870575faa825da6f7aa0e96aa3fcde11 /launcher/modplatform/modrinth/ModrinthPackIndex.h
parent31e84780a882622385dda0c574c128046d625eba (diff)
downloadPrismLauncher-fac33498dbd50fd9af60164e786534615586d6ac.tar.gz
PrismLauncher-fac33498dbd50fd9af60164e786534615586d6ac.tar.bz2
PrismLauncher-fac33498dbd50fd9af60164e786534615586d6ac.zip
Made some copy by reference
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackIndex.h')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackIndex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.h b/launcher/modplatform/modrinth/ModrinthPackIndex.h
index 8aa53a11..a8d986c5 100644
--- a/launcher/modplatform/modrinth/ModrinthPackIndex.h
+++ b/launcher/modplatform/modrinth/ModrinthPackIndex.h
@@ -31,6 +31,6 @@ void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
const shared_qobject_ptr<QNetworkAccessManager>& network,
const BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj, QString hash_type = "sha512", QString filename_prefer = "") -> ModPlatform::IndexedVersion;
-auto loadDependencyVersions(ModPlatform::Dependency m, QJsonArray& arr) -> ModPlatform::IndexedVersion;
+auto loadDependencyVersions(const ModPlatform::Dependency& m, QJsonArray& arr) -> ModPlatform::IndexedVersion;
} // namespace Modrinth