diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-25 11:48:28 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-15 10:44:10 +0200 |
commit | 6bbfae9457248f1f65cf18f87ecc6ff66a6fdd70 (patch) | |
tree | ad8f6a392346e8c3cd82bbbe2dd8f1df7848be19 /src/dbus/qdbusconnection_p.h | |
parent | 2393432cd0578d211e78957a4f24f74e7a484114 (diff) |
Port dbus from QStringRef to QStringView
Task-number: QTBUG-84319
Change-Id: Ifdfad6b7ac8b61ead71382e5ae3cb22b50b2504c
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
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(); } |