summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbusmessage.h')
-rw-r--r--src/dbus/qdbusmessage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus/qdbusmessage.h b/src/dbus/qdbusmessage.h
index 23e04045d8..3e73db70de 100644
--- a/src/dbus/qdbusmessage.h
+++ b/src/dbus/qdbusmessage.h
@@ -69,12 +69,12 @@ public:
QDBusMessage();
QDBusMessage(const QDBusMessage &other);
#ifdef Q_COMPILER_RVALUE_REFS
- QDBusMessage &operator=(QDBusMessage &&other) Q_DECL_NOTHROW { swap(other); return *this; }
+ QDBusMessage &operator=(QDBusMessage &&other) noexcept { swap(other); return *this; }
#endif
QDBusMessage &operator=(const QDBusMessage &other);
~QDBusMessage();
- void swap(QDBusMessage &other) Q_DECL_NOTHROW { qSwap(d_ptr, other.d_ptr); }
+ void swap(QDBusMessage &other) noexcept { qSwap(d_ptr, other.d_ptr); }
static QDBusMessage createSignal(const QString &path, const QString &interface,
const QString &name);