The dev4LCG nightlies have been switched to HepMC3 a few days ago. This MR fixes the compilation of AtlasHepMC and dependent packages for the gcc12 dev4LCG nightly.
AtlasHepMC
Tagging @averbyts, @ewelina, @jchapman for info.