diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-12-01 19:36:36 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-12-03 09:55:02 +0100 |
commit | 2e271795e7c460254a27ea617846ff7b598a7b9b (patch) | |
tree | 9f34e6322a84fc6206f29741a746e5f45912c771 /src/network/ssl/qsslellipticcurve.h | |
parent | e06f4c2558aaf99bd4ee0e13e9372c29418c5697 (diff) |
QSslEllipticCurve: remove a copy when setting the curves
The only reason for copying QSslEllipticCurves into a temporary array
would be to be extra-pedantic about type safety, but in the end,
we can simply force a cast and remove the copy.
Change-Id: Ice8a036fe4b79ba438ce83b5eacf6158eb3f0ce7
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qsslellipticcurve.h')
-rw-r--r-- | src/network/ssl/qsslellipticcurve.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/ssl/qsslellipticcurve.h b/src/network/ssl/qsslellipticcurve.h index 8f31b32777..6d2a764d87 100644 --- a/src/network/ssl/qsslellipticcurve.h +++ b/src/network/ssl/qsslellipticcurve.h @@ -82,7 +82,6 @@ private: friend Q_DECL_CONSTEXPR uint qHash(QSslEllipticCurve curve, uint seed) Q_DECL_NOTHROW { return qHash(curve.id, seed); } - friend class QSslContext; friend class QSslSocketPrivate; friend class QSslSocketBackendPrivate; }; |