diff options
author | Glenn Miles <milesg@ibm.com> | 2019-10-11 13:52:14 -0500 |
---|---|---|
committer | Nicholas E Bofferding <bofferdn@us.ibm.com> | 2019-10-16 08:21:11 -0500 |
commit | 68ba813f29145980aae29899fc4fff7a9b476a9d (patch) | |
tree | 9c660d329602e97415f389ae09e424e86f10acee /src/import/hwpf/fapi2/include/error_scope.H | |
parent | 98bf4ecbde2d327d0c7707cbe96654486bcfcc50 (diff) | |
download | talos-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