summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuserror.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuserror.h')
-rw-r--r--src/dbus/qdbuserror.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus/qdbuserror.h b/src/dbus/qdbuserror.h
index 65baaa9562..8b3026a1fc 100644
--- a/src/dbus/qdbuserror.h
+++ b/src/dbus/qdbuserror.h
@@ -112,9 +112,9 @@ public:
void swap(QDBusError &other) noexcept
{
- qSwap(code, other.code);
- qSwap(msg, other.msg);
- qSwap(nm, other.nm);
+ std::swap(code, other.code);
+ msg.swap(other.msg);
+ nm.swap(other.nm);
}
ErrorType type() const;