diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-08-27 22:21:49 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-09-09 12:35:39 +0000 |
| commit | 1f9e38d41a8c9f10b7f56b671915b5fe374bf3a9 (patch) | |
| tree | df001fe7a1ef2075c7847b4be1392b7b3469aceb /src/concurrent/qtconcurrentrun.cpp | |
| parent | e10dff283a41aaf555885c912d4363bcf1f14958 (diff) | |
util/unicode: split and trim in readUnicodeFile() to save repetition
... in all the lambdas, which now receive a span<QByteArrayView>
instead.
Of course, this isn't a 1:1 move, but ports to QStringTokenizer and
QVarLengthArray as a drive-by.
Since everything is now QByteArrayView, we're now implicitly depending
on QHash heterogeneous lookup, a Qt 6.8 feature, so mention that in
the QT_VERSION check comment (just FYI; we've already required 6.9,
anyway).
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ide6bcce5e1cd28c42f0091b5bcefb89d6278b6a9
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
