diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-04-30 14:58:20 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-05-01 11:13:03 +0200 |
commit | a7bb69fb87219673a530af0143660267a3ffd2d8 (patch) | |
tree | 2c7127c71ee44805747c57dc063fcbb4ebdd0659 /examples/widgets/widgets | |
parent | f24a03a22a863eac18a3981973f6a19aef3116f6 (diff) |
QVLA::erase: use trivial relocation
Apply the same algorithm that QVector uses for erasing elements:
destroy the erased range, then memmove the tail over.
Change-Id: I6f2edde5b208910b665f85167cf9359379137a85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/widgets')
0 files changed, 0 insertions, 0 deletions