diff options
-rw-r--r-- | src/xml/sax/qxml.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xml/sax/qxml.h b/src/xml/sax/qxml.h index ee60823003..49c8184d4b 100644 --- a/src/xml/sax/qxml.h +++ b/src/xml/sax/qxml.h @@ -127,6 +127,12 @@ public: #endif ~QXmlAttributes(); + void swap(QXmlAttributes &other) Q_DECL_NOTHROW + { + qSwap(attList, other.attList); + qSwap(d, other.d); + } + int index(const QString& qName) const; int index(QLatin1String qName) const; int index(const QString& uri, const QString& localPart) const; @@ -155,6 +161,7 @@ private: QXmlAttributesPrivate *d; }; +Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) // // SAX Input Source |