summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-03-20 18:43:09 -0300
committerThiago Macieira <thiago.macieira@intel.com>2020-04-10 14:46:02 -0300
commit67f54c1ebeb60be93bfc7ef3caf2e964f045e6b9 (patch)
tree055364c0987c8b58921bc0a93562ca5b96fd6d2a /tests
parent07e8390b455b9aa81b7472b401fcaf5dfd48d3c1 (diff)
QCborValue: apply a simple optimization to avoid unnecessary allocations
If the map or array is known to be empty, we don't need to allocate a QCborContainerPrivate. Change-Id: Ief61acdfbe4d4b5ba1f0fffd15fe212b6a6e77c3 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit f581b041199ba7c825fbffd9110727360d1f2668) Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions