diff options
| author | Mate Barany <mate.barany@qt.io> | 2024-07-22 16:30:12 +0200 |
|---|---|---|
| committer | Mate Barany <mate.barany@qt.io> | 2024-08-30 19:13:06 +0200 |
| commit | f02402044e552f2940d4677039f3d02c41eb27ee (patch) | |
| tree | cb28528ce7a637660e91906fdecfb7f7660bae94 /src/corelib/tools/qarraydata.h | |
| parent | 40bde8a572bd8ed039d3f5a5ab99b281de7410bd (diff) | |
Pass QSslError::SslError by value
It is a small and trivially copyable type.
As a drive-by, make the operator a hidden friend.
Found by an Axivion scan.
[ChangeLog][Potentially Source-Incompatible Changes][QtNetwork] Made
the QSslError::SslError QDebug operator<< a hidden friend of QSslError.
This means the operator is no longer a match for arguments implicitly
converting to SslError, only for SslError itself. A backwards-compatible
fix is to make the conversion explicit: debug << QSslError::SslError(arg).
Task-number: QTBUG-125026
Pick-to: 6.8
Change-Id: I9b6673397b6a26d508783304240c91fa058139bc
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/tools/qarraydata.h')
0 files changed, 0 insertions, 0 deletions
