diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-30 14:23:27 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-30 17:27:29 +0100 |
commit | 57e57d9bcda868abcfb552e1247b391162c0dff9 (patch) | |
tree | 7752a32e796d74c8d01a447d1d7376a02cbf7fcc /src/network/ssl/qsslellipticcurve.cpp | |
parent | d51d312c86128150283b6a41f0daac18d9e57f32 (diff) |
Hide comparison operators for QtNetwork value types from non-ADL
Make them hidden friends, add a private isEqual helper where needed.
Adjust and add documentation.
Fixes: QTBUG-87976
Change-Id: If7c19eeab5be7452364eb76193981100f5516d6b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/network/ssl/qsslellipticcurve.cpp')
-rw-r--r-- | src/network/ssl/qsslellipticcurve.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/network/ssl/qsslellipticcurve.cpp b/src/network/ssl/qsslellipticcurve.cpp index f7faa607bd..6bc5ee6286 100644 --- a/src/network/ssl/qsslellipticcurve.cpp +++ b/src/network/ssl/qsslellipticcurve.cpp @@ -139,17 +139,15 @@ QT_BEGIN_NAMESPACE */ /*! - \fn bool operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) + \fn bool QSslEllipticCurve::operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) \since 5.5 - \relates QSslEllipticCurve Returns true if the curve \a lhs represents the same curve of \a rhs; */ /*! - \fn bool operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) + \fn bool QSslEllipticCurve::operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) \since 5.5 - \relates QSslEllipticCurve Returns true if the curve \a lhs represents a different curve than \a rhs; false otherwise. |