From 9662c7da8f09b6cfa071f4e1cbf4973af3a540a3 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 8 Apr 2022 17:43:08 +0200 Subject: QtDBus: replace remaining uses of QLatin1String with QLatin1StringView Task-number: QTBUG-98434 Change-Id: I733af3126f126e5025f709cfe023b9f6bbc13e3e Reviewed-by: Marc Mutz Reviewed-by: Qt CI Bot --- src/dbus/qdbusabstractadaptor_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbus/qdbusabstractadaptor_p.h') diff --git a/src/dbus/qdbusabstractadaptor_p.h b/src/dbus/qdbusabstractadaptor_p.h index 212878c29b..0c8fdcf66c 100644 --- a/src/dbus/qdbusabstractadaptor_p.h +++ b/src/dbus/qdbusabstractadaptor_p.h @@ -103,7 +103,7 @@ public: // typedefs inline bool operator<(const AdaptorData &other) const { return QByteArray(interface) < other.interface; } inline bool operator<(const QString &other) const - { return QLatin1String(interface) < other; } + { return QLatin1StringView(interface) < other; } inline bool operator<(const QByteArray &other) const { return interface < other; } }; -- cgit v1.2.3