mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
use qAtomicAssign() in QDomDocumentType assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
62a3854876
commit
e6ab2f5350
1 changed files with 3 additions and 2 deletions
|
@ -3633,9 +3633,10 @@ QDomDocumentType::QDomDocumentType(QDomDocumentTypePrivate* n)
|
||||||
will also change the other. If you want to make a deep copy, use
|
will also change the other. If you want to make a deep copy, use
|
||||||
cloneNode().
|
cloneNode().
|
||||||
*/
|
*/
|
||||||
QDomDocumentType& QDomDocumentType::operator= (const QDomDocumentType& n)
|
QDomDocumentType& QDomDocumentType::operator=(const QDomDocumentType& x)
|
||||||
{
|
{
|
||||||
return (QDomDocumentType&) QDomNode::operator=(n);
|
qAtomicAssign(impl, x.impl);
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Add table
Reference in a new issue