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
@@ -56,7 +56,7 @@ class QMLJS_EXPORT ImportMatchStrength
|
||||
{
|
||||
public:
|
||||
explicit ImportMatchStrength() {}
|
||||
ImportMatchStrength(QList<int> match);
|
||||
ImportMatchStrength(const QList<int> &match);
|
||||
|
||||
int compareMatch(const ImportMatchStrength &o) const;
|
||||
|
||||
@@ -127,7 +127,7 @@ class QMLJS_EXPORT Export
|
||||
public:
|
||||
static QString libraryTypeName();
|
||||
Export();
|
||||
Export(ImportKey exportName, QString pathRequired, bool intrinsic = false,
|
||||
Export(ImportKey exportName, const QString &pathRequired, bool intrinsic = false,
|
||||
const QString &typeName = libraryTypeName());
|
||||
ImportKey exportName;
|
||||
QString pathRequired;
|
||||
|
||||
Reference in New Issue
Block a user