diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-04-30 11:22:23 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-05-07 07:36:24 +0000 |
commit | 3df85008591dffc64427095b022421469cb9a866 (patch) | |
tree | 5ed97536bf3a96d9c78c86fd743eae7f2d8ee3df /tests/auto/particles/qquickspritegoal/data | |
parent | d2c089eb11d3ad6a9917efde8f13b36931b35baf (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/auto/particles/qquickspritegoal/data')
0 files changed, 0 insertions, 0 deletions