diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-09-28 21:48:14 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-10-03 14:59:56 +0000 |
commit | 3b5107a118014f15ffefe414e5cf433c83dee1ef (patch) | |
tree | d294af7f377dfbbc7427c1ba9a6e9892958e2fb2 /src/xml | |
parent | be7f671ac99c7d02d82a5f05822642bd39e30923 (diff) |
Speed up compilation of tst_qgraphicsview_2.cpp
Turn the list of newRow() calls into a for loop over a constexpr
data structure.
Fixes the GCC note:
tst_qgraphicsview_2.cpp:47:13: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
and speeds up compilation of the file from 13s to 2.5s on my
machine.
Task-number: QTBUG-38890
Change-Id: I4f0b3565c7df64b286d1d32eb3f3d6bf4df92609
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/xml')
0 files changed, 0 insertions, 0 deletions