diff options
Diffstat (limited to 'src/testlib/qtaptestlogger.cpp')
-rw-r--r-- | src/testlib/qtaptestlogger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtaptestlogger.cpp b/src/testlib/qtaptestlogger.cpp index ab2de7f53ef..33c8ec974a3 100644 --- a/src/testlib/qtaptestlogger.cpp +++ b/src/testlib/qtaptestlogger.cpp @@ -338,7 +338,7 @@ void QTapTestLogger::addIncident(IncidentTypes type, const char *description, QString message = match.captured(u"message"); QString expected; QString actual; - const auto parenthesize = [&match](QLatin1String key) -> QString { + const auto parenthesize = [&match](QLatin1StringView key) -> QString { return " ("_L1 % match.captured(key) % u')'; }; const QString actualExpression = parenthesize("actualexpression"_L1); |