diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-02-20 22:55:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-24 15:14:04 +0100 |
commit | f12b0f9a38c792abb13f3e6ecff4542986a6f96b (patch) | |
tree | 2943d7c88ea0be3ccf29838ce37c0a7ee928cf8a /src/corelib/arch/qatomic_mips.h | |
parent | 328a282ebdbbfe185e87e668285d5152a1133bf9 (diff) |
QByteArrayList: optimize op+
The old code creates a default-constructed QByteArrayList, then performed two
list-appends, the first one of which just performs assignment.
Optimize by replacing the default construction and assignment with a copy
constructor call.
Change-Id: I6d5bd14172798c925b05bd3602e6d1d037d90796
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/corelib/arch/qatomic_mips.h')
0 files changed, 0 insertions, 0 deletions