aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlameAPI.cpp
diff options
context:
space:
mode:
authortimoreo <contact@timoreo.fr>2022-09-26 11:50:31 +0200
committertimoreo <contact@timoreo.fr>2022-09-26 11:50:31 +0200
commit9ff364b0d3c12f9138037cce585c03c850721b82 (patch)
tree3404fb8ba162275b8eac6678c12832c3ec2a0936 /launcher/modplatform/flame/FlameAPI.cpp
parent4f6d964217f6addd4f29969168a7d40ed4729dde (diff)
downloadPrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.tar.gz
PrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.tar.bz2
PrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.zip
huge nit: added const refs, everywhere
Signed-off-by: timoreo <contact@timoreo.fr>
Diffstat (limited to 'launcher/modplatform/flame/FlameAPI.cpp')
-rw-r--r--launcher/modplatform/flame/FlameAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameAPI.cpp b/launcher/modplatform/flame/FlameAPI.cpp
index f8f50dc6..4d71da21 100644
--- a/launcher/modplatform/flame/FlameAPI.cpp
+++ b/launcher/modplatform/flame/FlameAPI.cpp
@@ -184,7 +184,7 @@ auto FlameAPI::getProjects(QStringList addonIds, QByteArray* response) const ->
return netJob;
}
-auto FlameAPI::getFiles(QStringList fileIds, QByteArray* response) const -> NetJob*
+auto FlameAPI::getFiles(const QStringList& fileIds, QByteArray* response) const -> NetJob*
{
auto* netJob = new NetJob(QString("Flame::GetFiles"), APPLICATION->network());