Mark QHttpNetworkConnectionChannel as final
To suppress clang-tidy's bugprone-pointer-arithmetic-on-polymorphic-object because we store a dynamically allocated array of QHttpNetworkConnectionChannel objects in QHttpNetworkConnectionPrivate and index into this all over the code. Pick-to: 6.8 Change-Id: Ibcdf7c8acc4a57eaf36bca3719733655053ac818 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Mate Barany <mate.barany@qt.io> (cherry picked from commit 930dfd11dd7d8a0135c5d80d047b95bb8a55cbcd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
3b8f6bb3d6
commit
657ccdab53
@ -62,7 +62,7 @@ class QByteArray;
|
|||||||
typedef std::pair<QHttpNetworkRequest, QHttpNetworkReply*> HttpMessagePair;
|
typedef std::pair<QHttpNetworkRequest, QHttpNetworkReply*> HttpMessagePair;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QHttpNetworkConnectionChannel : public QObject {
|
class QHttpNetworkConnectionChannel final : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
// TODO: Refactor this to add an EncryptingState (and remove pendingEncrypt).
|
// TODO: Refactor this to add an EncryptingState (and remove pendingEncrypt).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user