eflowRec: Fix use of invalid iterators.
Compare changes
- sss authored
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().
@@ -91,13 +91,8 @@ Subtractor::annihilateCluster(xAOD::CaloCluster* cluster)