QCollatorSortKey: use QExplicitlySharedDataPointer as pImpl
The key is immutable except for assignment and swap, so don't run the risk of auto-detaching and use the explicit-detach version of QSharedDataPointer. Change-Id: Ib2cfe5981e6dfe375d6208289ff58247ef9d4870 Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
1401225330
commit
9aaaa8427d
|
|
@ -69,7 +69,7 @@ public:
|
|||
protected:
|
||||
QCollatorSortKey(QCollatorSortKeyPrivate*);
|
||||
|
||||
QSharedDataPointer<QCollatorSortKeyPrivate> d;
|
||||
QExplicitlySharedDataPointer<QCollatorSortKeyPrivate> d;
|
||||
|
||||
private:
|
||||
QCollatorSortKey();
|
||||
|
|
|
|||
Loading…
Reference in New Issue