diff options
author | timoreo <contact@timoreo.fr> | 2022-09-26 11:50:31 +0200 |
---|---|---|
committer | timoreo <contact@timoreo.fr> | 2022-09-26 11:50:31 +0200 |
commit | 9ff364b0d3c12f9138037cce585c03c850721b82 (patch) | |
tree | 3404fb8ba162275b8eac6678c12832c3ec2a0936 /launcher/modplatform/helpers/OverrideUtils.h | |
parent | 4f6d964217f6addd4f29969168a7d40ed4729dde (diff) | |
download | PrismLauncher-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/helpers/OverrideUtils.h')
-rw-r--r-- | launcher/modplatform/helpers/OverrideUtils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/modplatform/helpers/OverrideUtils.h b/launcher/modplatform/helpers/OverrideUtils.h index 73f059d6..536261a2 100644 --- a/launcher/modplatform/helpers/OverrideUtils.h +++ b/launcher/modplatform/helpers/OverrideUtils.h @@ -9,12 +9,12 @@ namespace Override { * * If there's already an existing such file, it will be ovewritten. */ -void createOverrides(QString name, QString parent_folder, QString override_path); +void createOverrides(const QString& name, const QString& parent_folder, const QString& override_path); /** This reads an existing overrides archive, returning a list of overrides. * * If there's no such file in `parent_folder`, it will return an empty list. */ -QStringList readOverrides(QString name, QString parent_folder); +QStringList readOverrides(const QString& name, const QString& parent_folder); } // namespace Override |