diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-24 16:23:50 +0300 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-25 14:40:11 +0000 |
commit | 2e556c96b6c867232ee844495f38d1ee267e43fd (patch) | |
tree | e516457bc1bc7a11127b1c7747453d3950bc1d92 /src/libs/3rdparty/cplusplus | |
parent | 8ae9cfe39d9fbf114f23bc00e7a66516c2429648 (diff) |
QmlProfiler: avoid using Q_FOREACH over QVarLengthArray
The squeeze() function is called by clients for QVLA's, which means
it's copying 1-2KiB of data (depending on sizeof(value_type)) just
to iterate over a small part of it.
Use a C++11 ranged for loop.
Change-Id: I2c33ae0c5a3d9d941cd9e385fc6bbb4fb0fa3c2c
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus')
0 files changed, 0 insertions, 0 deletions