summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusunixfiledescriptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusunixfiledescriptor.h')
-rw-r--r--src/dbus/qdbusunixfiledescriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusunixfiledescriptor.h b/src/dbus/qdbusunixfiledescriptor.h
index a2da2c52da..b94c17dc0b 100644
--- a/src/dbus/qdbusunixfiledescriptor.h
+++ b/src/dbus/qdbusunixfiledescriptor.h
@@ -64,7 +64,7 @@ public:
~QDBusUnixFileDescriptor();
void swap(QDBusUnixFileDescriptor &other) noexcept
- { qSwap(d, other.d); }
+ { d.swap(other.d); }
bool isValid() const;