Use const'ref in theses methods

Change-Id: Idfa5ffdcf23d1ef80442276690b8082b8279dbfa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Montel Laurent
2017-04-14 10:12:30 +02:00
committed by Laurent Montel
parent c60103fc66
commit 86ea365a0b
27 changed files with 46 additions and 46 deletions

View File

@@ -39,7 +39,7 @@ ViewerContext::ViewerContext()
: language(Dialect::Qml), flags(AddAllPaths)
{ }
ViewerContext::ViewerContext(QStringList selectors, QStringList paths,
ViewerContext::ViewerContext(const QStringList &selectors, const QStringList &paths,
QmlJS::Dialect language,
QmlJS::ViewerContext::Flags flags)
: selectors(selectors), paths(paths), language(language),