mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
pass param by const ref
This commit is contained in:
parent
b650a359d2
commit
76c3aae7a5
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#include "debug_settings.h"
|
#include "debug_settings.h"
|
||||||
|
|
||||||
DebugSettings::DebugSettings(QString settingPath, QObject *parent) : SettingsManager(settingPath + "debug.ini", parent)
|
DebugSettings::DebugSettings(const QString &settingPath, QObject *parent)
|
||||||
|
: SettingsManager(settingPath + "debug.ini", parent)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ class DebugSettings : public SettingsManager
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
friend class SettingsCache;
|
friend class SettingsCache;
|
||||||
|
|
||||||
explicit DebugSettings(QString settingPath, QObject *parent = nullptr);
|
explicit DebugSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||||
DebugSettings(const DebugSettings & /*other*/);
|
DebugSettings(const DebugSettings & /*other*/);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue