diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-10-08 07:44:04 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-11-22 11:09:23 -0800 |
| commit | 74a5c18c365e7f2dd226af1f4b6c59e3473fe494 (patch) | |
| tree | 7cb85e8b96f1a3f6d2e7f69e106a31e319e7b455 /src/corelib/serialization/qjsonparser.cpp | |
| parent | c853054910552f5fef04797222dde0d29a0c340d (diff) | |
moc: make the result of QtMocHelpers::metaObjectData not have UniqueType
That way, there are fewer types that get stored as global variables,
possibly reducing the number classes detailed in the debug symbol table.
Core Gui Widgets
Before 84 122 208
After 45 72 110
This breaks NRVO by returning a different type than the local variable,
but since this is all running at constexpr time, it doesn't really
matter.
We need to pass the unique type to the metatype resolver, so the copyTo
functions are modified to take it as a template parameter.
Change-Id: I4083f1d1c2c44ed6dd22fffd9840da7741b723d8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonparser.cpp')
0 files changed, 0 insertions, 0 deletions
