forked from qt-creator/qt-creator
Use const'ref in theses methods
Change-Id: Idfa5ffdcf23d1ef80442276690b8082b8279dbfa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Laurent Montel
parent
c60103fc66
commit
86ea365a0b
@@ -58,7 +58,7 @@ ImportKind::Enum toImportKind(ImportType::Enum type)
|
||||
return ImportKind::Invalid;
|
||||
}
|
||||
|
||||
ImportMatchStrength::ImportMatchStrength(QList<int> match)
|
||||
ImportMatchStrength::ImportMatchStrength(const QList<int> &match)
|
||||
: m_match(match)
|
||||
{ }
|
||||
|
||||
@@ -482,7 +482,7 @@ Export::Export()
|
||||
: intrinsic(false)
|
||||
{ }
|
||||
|
||||
Export::Export(ImportKey exportName, QString pathRequired, bool intrinsic, const QString &typeName)
|
||||
Export::Export(ImportKey exportName, const QString &pathRequired, bool intrinsic, const QString &typeName)
|
||||
: exportName(exportName), pathRequired(pathRequired), typeName(typeName), intrinsic(intrinsic)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user