summaryrefslogtreecommitdiff
path: root/tests/benchmarks/qml/javascript/tst_javascript.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2021-11-23 10:12:27 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2021-11-23 18:01:17 +0100
commit509adb58688531dea802f088bcdf969771985d38 (patch)
tree6c9d15c49e9a414b526413f42a65c8961418750e /tests/benchmarks/qml/javascript/tst_javascript.cpp
parentac2e7839b05bc0fa343c3ae266a8e53610aa11e6 (diff)
downloadqtdeclarative-509adb58688531dea802f088bcdf969771985d38.tar.gz
Enhance QQmltcObjectCreationHelper::set() with an assert
We don't really want to accidentally reset the pointer value after it has been set. So put an assert that should signal there's a bug in qmltc somewhere To actually make assert pass, initialize the pointer array as otherwise some random garbage will be there by default Change-Id: Ie93a41ab0e3d10d496c7d6651fa6e38796ceba1a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/benchmarks/qml/javascript/tst_javascript.cpp')
0 files changed, 0 insertions, 0 deletions