Commit 33cc78b8 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Add missing copy assignment operator to QXmlSchema


Found by MSVC 2013 when.

Change-Id: I09c23afca4c9045523ae0722751fb27737b1b5f8
Reviewed-by: default avatarOlivier Goffart <ogoffart@woboq.com>
Showing with 12 additions and 0 deletions
...@@ -93,6 +93,17 @@ QXmlSchema::QXmlSchema(const QXmlSchema &other) ...@@ -93,6 +93,17 @@ QXmlSchema::QXmlSchema(const QXmlSchema &other)
{ {
} }
/*!
\since 5.4
Copies the resources of \a other into this instance, sharing
them to the extent possible.
*/
QXmlSchema &QXmlSchema::operator =(const QXmlSchema &other)
{
d = other.d;
return *this;
}
/*! /*!
Destroys this QXmlSchema. Destroys this QXmlSchema.
*/ */
......
...@@ -64,6 +64,7 @@ class Q_XMLPATTERNS_EXPORT QXmlSchema ...@@ -64,6 +64,7 @@ class Q_XMLPATTERNS_EXPORT QXmlSchema
public: public:
QXmlSchema(); QXmlSchema();
QXmlSchema(const QXmlSchema &other); QXmlSchema(const QXmlSchema &other);
QXmlSchema &operator=(const QXmlSchema &other);
~QXmlSchema(); ~QXmlSchema();
bool load(const QUrl &source); bool load(const QUrl &source);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment