Skip to content
Snippets Groups Projects
Commit 1410613b authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'McParticleUtils_HepMC2' into '23.0'

Fix McParticleUtils compilation in HepMC2-based builds

See merge request atlas/athena!64245
parents 19f22b8a e1eac7c1
No related branches found
No related tags found
No related merge requests found
......@@ -452,7 +452,7 @@ bool McVtxFilter::checkTwoBodyDecay( HepMC::ConstGenVertexPtr vtx ) const
const int pdgId2= vtx->particles_out().at(1)->pdg_id();
#else
HepMC::GenVertex::particles_out_const_iterator itrPart = vtx->particles_out_const_begin();
const int pdgId1 = (*itrPart)->pdg_id());
const int pdgId1 = (*itrPart)->pdg_id();
++itrPart;
const int pdgId2 = (*itrPart)->pdg_id();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment