summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-11-07 17:37:18 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2022-11-10 15:00:11 +0100
commitc337db8d7ee77ea3aaafd6a065a34865319dbe5e (patch)
treedacde68958d0c5af43e9d7b72d0c791da3c574d2 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
parentc949d7ede355caf559f059fe124eb3dda02c8dc4 (diff)
downloadqtdeclarative-c337db8d7ee77ea3aaafd6a065a34865319dbe5e.tar.gz
ConstructionState: reduce size
We can reduce the size of the class by using QBiPointer to internally store what previously has been two pointers and a flag. The only draw-back is that we now have to manually manage the memory. Mark the type as uncopieable to reduce the amount of boilerplate we need; we still need to support moves as we store ConstructionState in a vector. Change-Id: I99329bbfda3f7147d475c1574a20a54719d2f7bd Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions