diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-11-07 17:37:18 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-11-10 15:00:11 +0100 |
commit | c337db8d7ee77ea3aaafd6a065a34865319dbe5e (patch) | |
tree | dacde68958d0c5af43e9d7b72d0c791da3c574d2 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
parent | c949d7ede355caf559f059fe124eb3dda02c8dc4 (diff) | |
download | qtdeclarative-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