diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-11-30 14:19:39 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-12-01 12:45:36 +0000 |
commit | bf7ce1ff84a735056b64958349a8a831eafe4684 (patch) | |
tree | 2131388ef73f9c9f13433a4e1440503a6edb78f7 /tests/benchmarks/corelib | |
parent | cb7d397e3dbc769f8332a03858b28eddc7519279 (diff) |
QDirModel: replace a copy by a reference
Since we are storing pointers to the elements of the
vector thus copied, we better make sure we don't cause
it to deep-copy. The old code was fragile in that sense,
using a reference removes one layer of potential mess-ups.
Change-Id: Ib8ebbb47c2a478b5e666e767d05429700b528afd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/corelib')
0 files changed, 0 insertions, 0 deletions