Do not modify vector while iterating over it in range-based for loop
This is undefined behavior leading to wrong behavior or crashes. Instead iterate backwards to not invalidate iterators that are still to be accessed. BUG: 423224 BUG: 423441 FIXED-IN: 5.19.3
parent
6fa8a6b1
Please register or sign in to comment