diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-30 23:29:21 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-05 09:07:14 +0200 |
commit | c49728eb27be0f3f2eaaa77b0ed573f5d8705af1 (patch) | |
tree | 7115e967f463ab66c8df40dfd573cf5c8ddb8055 /qmake/project.cpp | |
parent | 690abaac0e4bd57b5510e68730f7965c01a113da (diff) |
Port qmake from QStringRef to QStringView
Change-Id: Ie07a976cd3c634e04c8b9b1e0a6cacd4c2d94939
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 931a337b71..15870395ae 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -125,7 +125,7 @@ QStringList QMakeProject::expand(const ProKey &func, const QList<ProStringList> ProString QMakeProject::expand(const QString &expr, const QString &where, int line) { ProString ret; - ProFile *pro = m_parser->parsedProBlock(QStringRef(&expr), 0, where, line, + ProFile *pro = m_parser->parsedProBlock(QStringView(expr), 0, where, line, QMakeParser::ValueGrammar); if (pro->isOk()) { m_current.pro = pro; |