diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-12-24 13:39:25 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-12-24 20:58:28 +0100 |
| commit | 05b9a4b2deefd586356e1f36d84372b06e74cfe3 (patch) | |
| tree | f5c5df6ad19d3a711812ed25dcddebc933653682 /src/corelib/serialization/qdatastream.cpp | |
| parent | 457580936ddebc73e8a24fc8af0d342084b3a0b5 (diff) | |
tst_QSpan: check QList<int> -> QSpan<const int> doesn't detach the former
It does.
While std::span, does, too, and so users should be using
std::as_const(), it's quite simple to avoid for QSpan, so we'll fix it
in QSpan. This patch adds the reproducer.
Task-number: QTBUG-132133
Pick-to: 6.9 6.8
Change-Id: I2e416fb7344830cd5e0d945cce61491cd6f4a7a5
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
0 files changed, 0 insertions, 0 deletions
