summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qmetaobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qmetaobject_p.h b/src/corelib/kernel/qmetaobject_p.h
index 56877579246..c2b716ac52d 100644
--- a/src/corelib/kernel/qmetaobject_p.h
+++ b/src/corelib/kernel/qmetaobject_p.h
@@ -61,14 +61,14 @@ public:
private:
friend bool comparesEqual(const QArgumentType &lhs,
- const QArgumentType &rhs) noexcept
+ const QArgumentType &rhs)
{
if (lhs._type && rhs._type)
return lhs._type == rhs._type;
else
return lhs.name() == rhs.name();
}
- Q_DECLARE_EQUALITY_COMPARABLE(QArgumentType)
+ Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QArgumentType)
int _type;
QByteArray _name;