diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-07-08 19:33:02 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-07-14 04:20:41 +0000 |
commit | f4950cb6e15a7a6c1a6732c9a5ec9d59a2952948 (patch) | |
tree | de5aaa2778f8aeaa87d18d3e5c255f4cc7a43300 /mkspecs | |
parent | 1016c0af740ebdf4b7dccfe5db5d63f07e4fee00 (diff) |
QCborMap: make take() & remove() efficient if the item isn't there
By using constFind(), we won't detach if the item isn't there. Both
extract() and erase() can take const_iterators.
Change-Id: Id59bdd8f1a804b809e22fffd153f92989ef84644
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions