summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qcollator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qcollator.h')
-rw-r--r--src/corelib/text/qcollator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qcollator.h b/src/corelib/text/qcollator.h
index ddfbacfd19..a0333e6f07 100644
--- a/src/corelib/text/qcollator.h
+++ b/src/corelib/text/qcollator.h
@@ -87,7 +87,7 @@ public:
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QCollator)
void swap(QCollator &other) noexcept
- { qSwap(d, other.d); }
+ { qt_ptr_swap(d, other.d); }
void setLocale(const QLocale &locale);
QLocale locale() const;