diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-08-08 07:37:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-08-08 18:57:40 +0200 |
commit | ba4b88d9d2f1dd03906f445c55f8959e0165505f (patch) | |
tree | ac071402a803c1ee0e568a9a632e75cb57ada582 /tests/auto/other | |
parent | 5cf3d062f66677e77c0e288ba5544c6a835398e5 (diff) |
QSslSocket manual test: replace QList with const array
"Never use a dynamically-sized container for statically-sized data."
Port the loop from Q_FOREACH (which can't deal with arrays) to ranged
for (which can).
Pick-to: 6.6 6.5
Task-number: QTBUG-115839
Change-Id: Ib89d07fb751e3905a230ee5641e2e509e9415bed
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions