diff --git a/src/dbus/qdbusintrospection_p.h b/src/dbus/qdbusintrospection_p.h index 947fc8d8a3b..a9d96e62a90 100644 --- a/src/dbus/qdbusintrospection_p.h +++ b/src/dbus/qdbusintrospection_p.h @@ -67,6 +67,18 @@ public: Q_ATTRIBUTE_FORMAT_PRINTF(3, 4) = 0; }; + struct Annotation + { + SourceLocation location; + QString name; + QString value; + + inline bool operator==(const Annotation &other) const + { + return name == other.name && value == other.value; + } + }; + struct Argument { SourceLocation location; @@ -116,18 +128,6 @@ public: annotations == other.annotations && type == other.type; } }; - struct Annotation - { - SourceLocation location; - QString name; - QString value; - - inline bool operator==(const Annotation &other) const - { - return name == other.name && value == other.value; - } - }; - struct Interface: public QSharedData { SourceLocation location;