diff options
Diffstat (limited to 'src/dbus/qdbusconnection_p.h')
-rw-r--r-- | src/dbus/qdbusconnection_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h index ce83270ac2..e909914dd8 100644 --- a/src/dbus/qdbusconnection_p.h +++ b/src/dbus/qdbusconnection_p.h @@ -156,8 +156,8 @@ public: : name(n), obj(nullptr), flags(0) { } inline bool operator<(const QString &other) const { return name < other; } - inline bool operator<(const QStringRef &other) const - { return QStringRef(&name) < other; } + inline bool operator<(QStringView other) const + { return name < other; } inline bool isActive() const { return obj || !children.isEmpty(); } |