diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-01 23:10:14 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-04 12:31:14 +0200 |
commit | d425848d0c09c49a734d1832e3a9f8e6fa12541b (patch) | |
tree | db737c6beae3cd901ab2c9a7c295f5eb65797dc4 /.qmake.conf | |
parent | 9db3ec26136aa7a7ea58c85c92f5c6288e50e8f5 (diff) |
QQuickState: fix quadratic loop
QMutableListIterator::remove() is a linear operation, so calling it in a loop
makes the overall loop quadratic. Fix by using std::remove_if + lambda, which
is linear.
Change-Id: Ia37b0ff947bd214d3b411dc4c274bf673c7f5577
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions