diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-03-20 18:43:09 -0300 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-03-25 16:22:02 -0300 |
commit | f581b041199ba7c825fbffd9110727360d1f2668 (patch) | |
tree | ef7e4478c42ca44b017673d495b4c52f43ae970e /mkspecs/features | |
parent | 02d595946faa7a21f6aa4109227f7e90db20ae7a (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>
Diffstat (limited to 'mkspecs/features')
0 files changed, 0 insertions, 0 deletions