diff options
| author | Lars Knoll <lars.knoll@qt.io> | 2020-11-04 15:02:04 +0100 |
|---|---|---|
| committer | Lars Knoll <lars.knoll@qt.io> | 2020-11-17 11:45:33 +0100 |
| commit | 1c1c593510e91a442cbb73bb4d5b6e9de135afdb (patch) | |
| tree | 6af24a24aa4a378295ab3e119ad69e8ebd3217d4 /src/corelib/tools/qarraydataops.h | |
| parent | c9420aeefffa1eccb417a3985b1cfef049b3fd34 (diff) | |
QList::append(QList) doesn't require a temp copy
The method can simply forward to the append overload taking
iterators. That method is safe against the iterators being
part of the list itself.
Change-Id: I4bebd6c1118cd4a428fa9248235029b997ef60b2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/corelib/tools/qarraydataops.h')
0 files changed, 0 insertions, 0 deletions
