summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest.h
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-04-26 17:07:00 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-05-02 20:06:20 +0000
commit7baa06fe0c7fa1a1d20ae749915a6483621f204e (patch)
tree4870b761bd66e7f61d37375f80917c7445692884 /src/testlib/qtest.h
parent34242f843ec41b63c706e4604ac3a65805d11107 (diff)
QtTestLib: replace QLatin1String uses with _L1/_s/QStringLiteral
Task-number: QTBUG-98434 Change-Id: Ie327fd4af1880002e5a1e09b43384f2b709625e7 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtest.h')
-rw-r--r--src/testlib/qtest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtest.h b/src/testlib/qtest.h
index eb7c2c3412..cbd8d54433 100644
--- a/src/testlib/qtest.h
+++ b/src/testlib/qtest.h
@@ -404,7 +404,7 @@ inline char *toString(const std::tuple<Types...> &tuple)
inline char *toString(std::nullptr_t)
{
- return toString(QLatin1String("nullptr"));
+ return toString(QStringLiteral("nullptr"));
}
template<>