aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-04-30 11:22:23 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-05-07 07:36:24 +0000
commit3df85008591dffc64427095b022421469cb9a866 (patch)
tree5ed97536bf3a96d9c78c86fd743eae7f2d8ee3df /tests
parentd2c089eb11d3ad6a9917efde8f13b36931b35baf (diff)
Avoid std::function in qqmlirbuilder.cpp
Some compilers seem to miscompile this construction. Furthermore, it doesn't really add to the readability of the code. Inline the code in question at the only place it's used and avoid most of the const_cast by adding a non-const accessor to CompiledData::Unit. Fixes: QTBUG-75392 Change-Id: I015317f28a92817d08d616cc35956745758d7847 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions