summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include/error_scope.H
diff options
context:
space:
mode:
authorGlenn Miles <milesg@ibm.com>2019-10-11 13:52:14 -0500
committerNicholas E Bofferding <bofferdn@us.ibm.com>2019-10-16 08:21:11 -0500
commit68ba813f29145980aae29899fc4fff7a9b476a9d (patch)
tree9c660d329602e97415f389ae09e424e86f10acee /src/import/hwpf/fapi2/include/error_scope.H
parent98bf4ecbde2d327d0c7707cbe96654486bcfcc50 (diff)
downloadtalos-hostboot-68ba813f29145980aae29899fc4fff7a9b476a9d.tar.gz
talos-hostboot-68ba813f29145980aae29899fc4fff7a9b476a9d.zip
Fix invalid use of vector iterator
Once an element of a vector is erased using an iterator, that iterator should be considered invalid and not used. The accepted practice is to update the iterator with the return value of the erase method and not to increment the iterator. CQ: SW465848 Change-Id: If6ec7887d8c2b6c6ad44a9608c474b9c118bd117 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85220 Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/include/error_scope.H')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud