diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-12-07 15:53:48 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-12-07 23:55:08 +0100 |
commit | 0a86a77e5f145f8aa4b79b645030a79f896bdb66 (patch) | |
tree | dc179f93c20a8d1cb816149ce33e236c2106e26e /src/testlib/qtestcase.cpp | |
parent | 9dd19532187bd6a5465e6c98a554d24dad1d06d0 (diff) |
tst_containerapisymmetry: remove the extra push_back
... and make sure it cannot happen again by using Extract Method to
let the compiler do the counting between the resize and the
sequence-of-push_back alternatives, because this author clearly can't.
Amends 3c0fdd7341ed4bff9b5f041e9f4646265d142303.
Pick-to: 6.6 6.5
Change-Id: If18f30d60f556e5e668876a38423f3e519fb79b0
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/testlib/qtestcase.cpp')
0 files changed, 0 insertions, 0 deletions