diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2023-02-11 20:50:20 -0800 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-04-26 07:55:47 +0000 |
| commit | cd800da526aaf0369f9cf4780db065026ddad7dd (patch) | |
| tree | fa146081730b7f5d358b52f9b68f8c43228c4aac /src/tools/tracegen/ctf.cpp | |
| parent | b9394b48c1b42e0ef834315ca4f89161a5c12ae7 (diff) | |
| download | qtbase-cd800da526aaf0369f9cf4780db065026ddad7dd.tar.gz | |
QString::insert: replace duplicated code with a recursion
Just call itself after copying the buffer, thus avoiding instantiating
insert_helper() for QVarLengthArray.
The other two cases of QtPrivate::q_points_into_range + QVLA in
qstring.cpp are not worth changing.
Change-Id: I9671dee8ceb64aa9b9cafffd1742fa7bb4cbebd8
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/tools/tracegen/ctf.cpp')
0 files changed, 0 insertions, 0 deletions
