Skip to content

add more sanity checks to ParticleCombination::operator[]

Gerhard Raven requested to merge more-paranoid-combination into master
  • perform explicit out-of-bounds check not only in debug builds
  • explicitly check for nullptr before dereferencing
  • remove pragma which explicitly removes a false-positive diagnostic with gcc10/clang12
Edited by Gerhard Raven

Merge request reports

Loading