Skip to content
Snippets Groups Projects

eflowRec: Fix use of invalid iterators.

Merged Scott Snyder requested to merge ssnyder/athena:iter24.eflowRec-20241214 into 24.0
  1. Dec 14, 2024
    • sss's avatar
      eflowRec: Fix use of invalid iterators. · ce627cf4
      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().
      ce627cf4
Loading