From 2222e695fcb547ed6c08f290b3b34bf36013eaad Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Tue, 27 Oct 2020 23:53:31 +0100 Subject: QMetaMethod: Make comparison operators hidden friends Reduce ADL noise. Change-Id: Ic747c2d76b7ce66b222e08eeaf6f1d193ba99f81 Reviewed-by: Fabian Kosmale --- src/corelib/kernel/qmetaobject.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/corelib/kernel/qmetaobject.cpp') diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index 3ac7e478e2..6b6e2b0912 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -1640,18 +1640,16 @@ bool QMetaObject::invokeMethodImpl(QObject *object, QtPrivate::QSlotObjectBase * invoked), otherwise returns \c false. */ -/*! \fn bool operator==(const QMetaMethod &m1, const QMetaMethod &m2) +/*! \fn bool QMetaMethod::operator==(const QMetaMethod &m1, const QMetaMethod &m2) \since 5.0 - \relates QMetaMethod \overload Returns \c true if method \a m1 is equal to method \a m2, otherwise returns \c false. */ -/*! \fn bool operator!=(const QMetaMethod &m1, const QMetaMethod &m2) +/*! \fn bool QMetaMethod::operator!=(const QMetaMethod &m1, const QMetaMethod &m2) \since 5.0 - \relates QMetaMethod \overload Returns \c true if method \a m1 is not equal to method \a m2, -- cgit v1.2.3