diff options
Diffstat (limited to 'src/qml/qml/qqmlproperty.h')
-rw-r--r-- | src/qml/qml/qqmlproperty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty.h b/src/qml/qml/qqmlproperty.h index dbffce9437..0dfdb6c759 100644 --- a/src/qml/qml/qqmlproperty.h +++ b/src/qml/qml/qqmlproperty.h @@ -94,7 +94,7 @@ public: QQmlProperty(QQmlProperty &&other) noexcept : d(std::exchange(other.d, nullptr)) {} QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QQmlProperty); - void swap(QQmlProperty &other) noexcept { qSwap(d, other.d); } + void swap(QQmlProperty &other) noexcept { qt_ptr_swap(d, other.d); } bool operator==(const QQmlProperty &) const; Type type() const; |