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

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading