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.9 6.8 Change-Id: Ibcdf7c8acc4a57eaf36bca3719733655053ac818 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Mate Barany <mate.barany@qt.io>
This commit is contained in:
parent
56ec6b4843
commit
930dfd11dd
@ -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