MCTruthSimAlgs: Fix cppcheck warnings.
Avoid postincrement of user iterators. Work around cppcheck null pointer dereference false positive.
GitLab Registry scheduled maintenance on Wednesday, October 09th 2024 as of 20:00h Geneva time for a period of 1 hour. Further information under https://cern.ch/otg0152540.
Avoid postincrement of user iterators. Work around cppcheck null pointer dereference false positive.