aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/ResourceAPI.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-18 21:43:57 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-18 21:43:57 +0300
commit58efd3e9e27e09d55dac1d185f8de81cf2121f23 (patch)
tree7368ef8bc2650324bf68a4e0884aa56e794c9e84 /launcher/modplatform/ResourceAPI.h
parent4c52b18bdd3112b5e92de61860fd8eff8ecdde9b (diff)
downloadPrismLauncher-58efd3e9e27e09d55dac1d185f8de81cf2121f23.tar.gz
PrismLauncher-58efd3e9e27e09d55dac1d185f8de81cf2121f23.tar.bz2
PrismLauncher-58efd3e9e27e09d55dac1d185f8de81cf2121f23.zip
fixed code scaning
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/ResourceAPI.h')
-rw-r--r--launcher/modplatform/ResourceAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/ResourceAPI.h b/launcher/modplatform/ResourceAPI.h
index bd0d2824..8af5ebd1 100644
--- a/launcher/modplatform/ResourceAPI.h
+++ b/launcher/modplatform/ResourceAPI.h
@@ -108,7 +108,7 @@ class ResourceAPI {
void operator=(ProjectInfoArgs other) { pack = other.pack; }
};
struct ProjectInfoCallbacks {
- std::function<void(QJsonDocument&, ModPlatform::IndexedPack)> on_succeed;
+ std::function<void(QJsonDocument&, const ModPlatform::IndexedPack&)> on_succeed;
std::function<void(QString const& reason)> on_fail;
std::function<void()> on_abort;
};