Skip to content

eflowRec: Fix use of invalid iterators.

Scott Snyder requested to merge ssnyder/athena:iter.eflowRec-20241213 into main

annihilateCluster was looping though a vector, erasing each element in turn, in order to clear the vector. Not only is this ineffient, it ends up using invalid iterators. This was causing a crash with gcc15. Just change to using clear().

Merge request reports

Loading