summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuspendingcall.h')
-rw-r--r--src/dbus/qdbuspendingcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbuspendingcall.h b/src/dbus/qdbuspendingcall.h
index dd99346301..727b038c77 100644
--- a/src/dbus/qdbuspendingcall.h
+++ b/src/dbus/qdbuspendingcall.h
@@ -63,7 +63,7 @@ public:
QDBusPendingCall &operator=(QDBusPendingCall &&other) noexcept { swap(other); return *this; }
QDBusPendingCall &operator=(const QDBusPendingCall &other);
- void swap(QDBusPendingCall &other) noexcept { qSwap(d, other.d); }
+ void swap(QDBusPendingCall &other) noexcept { d.swap(other.d); }
#ifndef Q_CLANG_QDOC
// pretend that they aren't here