diff --git a/src/dbus/qdbusabstractadaptor_p.h b/src/dbus/qdbusabstractadaptor_p.h index ed28777734..134cc78e57 100644 --- a/src/dbus/qdbusabstractadaptor_p.h +++ b/src/dbus/qdbusabstractadaptor_p.h @@ -102,10 +102,6 @@ public: // typedefs { return QLatin1String(interface) < other; } inline bool operator<(const QByteArray &other) const { return interface < other; } -#if defined(Q_CC_MSVC) && _MSC_VER < 1600 - friend inline bool operator<(const QString &str, const AdaptorData &obj) - { return str < QLatin1String(obj.interface); } -#endif }; typedef QVector AdaptorMap; diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h index 3043d7378c..444d4727fd 100644 --- a/src/dbus/qdbusconnection_p.h +++ b/src/dbus/qdbusconnection_p.h @@ -148,14 +148,6 @@ public: { return name < other; } inline bool operator<(const QStringRef &other) const { return QStringRef(&name) < other; } -#if defined(Q_CC_MSVC) && _MSC_VER < 1600 - inline bool operator<(const ObjectTreeNode &other) const - { return name < other.name; } - friend inline bool operator<(const QString &str, const ObjectTreeNode &obj) - { return str < obj.name; } - friend inline bool operator<(const QStringRef &str, const ObjectTreeNode &obj) - { return str < QStringRef(&obj.name); } -#endif inline bool isActive() const { return obj || !children.isEmpty(); }