diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-09-14 14:59:21 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-11-01 15:02:46 +0000 |
commit | 779a73762de6addb2a2e3fee5b98d00d64101b92 (patch) | |
tree | 71f69f8a2b18f369ee7ed4bab385b8cc2c4b6ad4 /LICENSE.GPL2 | |
parent | f09fc1f35294827245e74ced48274387d5ed346f (diff) |
Fully support operator[] on QCborValue and QCborValueRef
Added operator[] to QCborValueRef and mutating operator[] both there
and in QCborValue. If the value (referenced) is not a container, it
is replaced with a map and a reference into the result is returned.
If the value is an array and the key is a string, negative, or more
than 0xffff, the array is first converted to a map.
Change-Id: Ibbc9e480fb25eb3d05547c8a1b99e762b2a68b68
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions